Use leafletOutput()
to create a UI element, and
renderLeaflet()
to render the widget.
1 2 3 | liveplotOutput(outputId, width = "200px", height = "10px")
renderliveplot(expr, env = parent.frame(), quoted = FALSE)
|
outputId |
|
width |
|
height |
|
expr |
An expression that generates an HTML widget. |
env |
The environment in which to evaluate |
quoted |
Is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.