renderLcars {lcars} | R Documentation |
Create an LCARS outputs (server side)
Description
Server-side functions for creating dynamic lcarBox
and
lcarsSweep
.
Usage
renderLcarsBox(expr, env = parent.frame(), quoted = FALSE)
renderLcarsSweep(expr, env = parent.frame(), quoted = FALSE)
Arguments
expr |
An expression that returns a Shiny tag object, HTML, or a list of such objects. |
env |
The environment in which to evaluate |
quoted |
Is |
See Also
lcarsOutput
for the corresponding UI-side function.
Examples
## Only run examples in interactive R sessions
if (interactive()) {
ui <- lcarsPage(
lcarsBoxOutput("box"),
lcarsSweepOutput("sweep")
)
server <- function(input, output) {
output$box <- renderLcarsBox({
lcarsBox()
})
output$sweep <- renderLcarsSweep({
lcarsSweep()
})
}
shinyApp(ui, server)
}
[Package lcars version 0.3.8 Index]