lineupOutput {lineupjs} | R Documentation |
Shiny bindings for lineup
Description
Output and render functions for using lineup within Shiny applications and interactive Rmd documents.
Usage
lineupOutput(outputId, width = "100%", height = "800px")
renderLineup(expr, env = parent.frame(), quoted = FALSE)
Arguments
outputId |
output variable to read from |
width , height |
Must be a valid CSS unit (like |
expr |
An expression that generates a taggle |
env |
The environment in which to evaluate |
quoted |
Is |
Value
An output or render function that enables the use of the widget within Shiny applications.
Examples
# !formatR
library(shiny)
app <- shinyApp(
ui = fluidPage(lineupOutput("lineup")),
server = function(input, output) {
lineup <- lineupBuilder(iris) |> buildLineUp()
output$lineup <- renderLineup(lineup)
}
)
if (interactive()) app
[Package lineupjs version 4.6.0 Index]