subchunkify | R Documentation |
taken from: https://stackoverflow.com/questions/15365829/dynamic-height-and-width-for-knitr-plots
subchunkify(pl, fig.height = 7, fig.width = 5, chunk_name = "plot")
pl |
a plot object |
fig.height |
figure height |
fig.width |
figure width |
chunk_name |
name of the chunk |
Andreas Scharmueller andschar@protonmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.