render | R Documentation |
This function takes a plotscaper
schema and renders it as a
concrete htmlwidgets
widget.
render(
schema,
launch_server = TRUE,
width = NULL,
height = NULL,
elementId = NULL,
options = NULL
)
schema |
A |
launch_server |
Whether to launch a httpuv server for interaction with figure |
width |
Width |
height |
Height |
elementId |
Id of the HTML element to render the scene in (optional) |
options |
A list of options |
An object of class plotscaper_scene
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.