| renderPlot2 | R Documentation |
A wrapper around renderPlot, but with themes
automatically set via par; only supports
base plots. For ggplot2, please manually call
get_theme to get the theme.
renderPlot2(expr, ..., env = parent.frame(), quoted = FALSE)
expr, env, quoted, ... |
passed to |
See renderPlot
server <- function(input, output, session) {
output$plot <- renderPlot2({
plot(rnorm(100))
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.