create_rmd | R Documentation |
Experiment
or
set of Experiments
.create_rmd()
was renamed to render_docs()
to create a more consistent
API.
create_rmd(
experiment,
save_dir,
write_rmd = FALSE,
output_file = NULL,
output_format = vthemes::vmodern(),
title = NULL,
author = "",
show_code = TRUE,
show_eval = TRUE,
show_viz = TRUE,
eval_order = NULL,
viz_order = NULL,
use_icons = TRUE,
quiet = TRUE,
verbose = 2,
...
)
experiment |
An |
save_dir |
An optional directory in which to find previously saved
|
write_rmd |
Logical indicating whether or not to write out the raw
R Markdown file used to generate the results. If |
output_file |
The name of the output file. If using |
output_format |
The R Markdown output format to convert to. Must be an
object of class |
title |
Character string. Title of the report. By default, this will be
the name of the |
author |
Character string of author names to display in knitted R Markdown document. |
show_code |
Logical indicating whether or not to show code portions in the output document. |
show_eval |
Logical indicating whether or not to show the results of
the |
show_viz |
Logical indicating whether or not to show the results of
the |
eval_order |
Vector of |
viz_order |
Vector of |
use_icons |
Logical indicating whether or not to use fontawesome icons. |
quiet |
An option to suppress printing during rendering from knitr,
pandoc command line and others. To only suppress printing of the last
"Output created: " message, you can set |
verbose |
Level of verboseness (0, 1, 2) when knitting R Markdown. Default is 2. |
... |
Additional arguments to pass to |
## Not run:
# create basic Rmd from an experiment (of class `Experiment`)
create_rmd(experiment)
# or alternatively, create basic Rmd from a specific directory
create_rmd(save_dir = experiment$get_save_dir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.