Set R Markdown options for Evaluator
and Visualizer
outputs in
summary report.
Source: R/experiment-helpers.R
set_rmd_options.Rd
Set R Markdown options for Evaluator
or Visualizer
outputs in the summary report. Some options include the height/width of
plots and number of digits to show in tables.
Usage
set_rmd_options(
experiment,
field_name = c("evaluator", "visualizer"),
name,
show = NULL,
...
)
Arguments
- experiment
An
Experiment
object.- field_name
One of "evaluator" or "visualizer".
- name
Name of
Evaluator
orVisualizer
to set R Markdown options.- show
If
TRUE
, show output; ifFALSE
, hide output in R Markdown report. DefaultNULL
does not change the "show" field inEvaluator
/Visualizer
.- ...
Named R Markdown options to set. If
field_name = "visualizer"
, options are "height" and "width". Iffield_name = "evaluator"
, see options forvthemes::pretty_DT()
.