renderVtree | R Documentation |
Shiny bindings for vtree
renderVtree(expr, env = parent.frame(), quoted = FALSE)
expr |
an expression that generates a variable tree |
env |
the environment in which to evaluate |
quoted |
is |
vtreeOutput
, vtree
Other Shiny Functions:
init_js()
,
inlineCssSetup()
,
use_svgzoom()
,
vtreeOutput()
## Not run:
library(shiny)
library(vtree)
ui <- fluidPage(
vtreeOutput("vtree", width = "100%", height = "800px")
)
server <- function(input, output, session) {
output$vtree <- renderVtree({
vtree(FakeData,"Severity Sex",
labelnode=list(Sex=(c("Male"="M","Female"="F"))),
pngknit=FALSE)
})
}
shinyApp(ui, server)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.