View source: R/pythontex_utils.R
fig_dump | R Documentation |
save a figure done in R to a file with multiple formats
fig_dump(code, outfile = "outputs/test")
code |
code to be evaluated (as string) to produce the figure |
outfile |
path without extension |
fig_dump("roc_with_boxplot(sani_mci$score, sani_mci$sani_mci)", outfile = outfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.