surfwidgetOutput | R Documentation |
Output and render functions for using surfwidget within Shiny applications and interactive Rmd documents.
Update the configuration of an existing surfwidget.
surfwidgetOutput(outputId, width = "100%", height = "400px")
renderSurfwidget(expr, env = parent.frame(), quoted = FALSE)
updateSurfwidgetConfig(session, id, config)
updateColorMap(widget, colorMap)
updateIRange(widget, min, max)
updateThreshold(widget, min, max)
updateVertexColors(widget, colors)
updateAlpha(widget, alpha)
outputId |
output variable to read from |
width , height |
Must be a valid CSS unit (like |
expr |
An expression that generates a surfwidget |
env |
The environment in which to evaluate |
quoted |
Is |
session |
The |
id |
The ID of the surfwidget output. |
config |
A list of configuration options to update. See |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.