plainViewOutput | R Documentation |
Widget output/render function for use in Shiny
plainViewOutput(outputId, width = "100%", height = "400px")
renderPlainView(expr, env = parent.frame(), quoted = FALSE)
outputId |
Output variable to read from |
width, height |
the width and height of the map
(see |
expr |
An expression that generates an HTML widget |
env |
The environment in which to evaluate expr |
quoted |
Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable |
if (interactive()) {
library(shiny)
plt = plainView(poppendorf[[4]])
ui = fluidPage(
plainViewOutput("plot")
)
server = function(input, output, session) {
output$plot <- renderPlainView(plt)
}
shinyApp(ui, server)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.