render {plotscaper} | R Documentation |
Render a schema into an interactive scene
Description
This function takes a plotscaper
schema and renders it as a
concrete htmlwidgets
widget.
Usage
render(
schema,
launch_server = TRUE,
width = NULL,
height = NULL,
elementId = NULL,
options = NULL
)
Arguments
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 |
Value
An object of class plotscaper_scene
[Package plotscaper version 0.2.6 Index]