Server-side rendering function for the Perspective widget.
Usage
renderPerspective(expr, env = parent.frame(), quoted = FALSE)Arguments
- expr
An expression that returns a
perspectivewidget.- env
The environment in which to evaluate
expr.- quoted
Logical; is
expra quoted expression?
Examples
if (interactive()) {
server <- function(input, output) {
output$viewer <- renderPerspective({
perspective(mtcars, group_by = "cyl", plugin = "Y Bar")
})
}
}