Description Usage Arguments See Also Examples
Output and render functions for using pagemap within Shiny applications and interactive Rmd documents.
1 2 3 | pagemapOutput(outputId, width = "100%", height = "auto")
renderPagemap(expr, env = parent.frame(), quoted = FALSE)
|
outputId |
output variable to read from. |
width, height |
Fixed width for pagemap (in css units). Ignored when used in a Shiny app. It is not recommended to use this parameter because the widget knows how to adjust its width automatically. |
expr |
An expression that generates a pagemap |
env |
The environment in which to evaluate |
quoted |
Is |
1 2 3 4 5 6 7 8 9 10 11 | library(shiny)
## Only run this example in interactive R sessions
if (interactive()) {
shinyApp(
ui = fluidPage(pagemapOutput("pagemap")),
server = function(input, output) {
output$pagemap <- renderPagemap(pagemap())
}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.