In an R Markdown document, figure dimensions are normally
specified in inches; these are translated into pixel
dimensions when HTML output is requested and
rglwidget is used. These functions reproduce that
When used in an R Markdown document, these functions
return the requested current dimensions of figures in pixels. Outside such a document,
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.