How to embed layout in shiny widgets within R Markdown? -
i want embed shiny code within markdown document. i've seen, there 2 options:
have widget , output in code chunk
embed full shiny application
however, goal break down 1 full shiny app within different parts. if create , embed shiny app each part, have no idea how make values flow 1 app another. if include widgets, can't retain ui design.
so question is, possible have layout around shiny widgets within code chunk?
for example:
fluidpage( tabpanel("example", titlepanel("example"), sidebarlayout( sidebarpanel( checkboxinput('simple', 'simple widget', true) )))))
instead of just:
checkboxinput('simple', 'simple widget', true)
inside markdown code chunk.
thanks!
Comments
Post a Comment