knit_print.api_plot | R Documentation |
Embed a plotly figure as an iframe in a knitr doc
knit_print.api_plot(x, options, ...)
x |
a plotly figure object |
options |
knitr options. |
... |
placeholder. |
https://github.com/yihui/knitr/blob/master/vignettes/knit_print.Rmd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.