Description Usage Arguments Value Examples
Transforms a function call into an Rmarkdown chunk
1 2 3 4 5 6 7 8 9 10 11 12 13 |
report |
Character string containing all the R Markdown chunks previously added. Default is ”, an empty report. |
fun |
Function to call. |
params |
List of parameters to be passed to fun. |
chunk_title |
Title of the Rmarkdown chunk. If NULL, chronicle will try to parse a generic title based on the function and parameters passed using make_title() |
title_level |
Level of the section title of this plot (ie, number of # on Rmarkdown syntax.) |
echo |
Whether to display the source code in the output document. Default is FALSE. |
message |
Whether to preserve messages on rendering. Default is FALSE. |
warning |
Whether to preserve warnings on rendering. Default is FALSE. |
fig_width |
Width of the plot (in inches). |
fig_height |
Height of the plot (in inches). |
guess_title |
If TRUE, tries to generate a generic title for chronicle::make_* family of functions (eg 'Sepal.Length vs Sepal.Width by Species' for make_scatter) |
An rmarkdown chunk as a character string.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.