There are two ways of re-creating the plot. One (method == "replay"
)
is to call grDevices::replayPlot. The other (method == "re-evaluate"
)
is to restore the state of R session at the time of plotting and re-run
the expression that created the original plot.
1 | replot(x, method = "re-evaluate")
|
x |
plot artifact, as returned by |
method |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.