print_eval_results.Rd
`print_eval_results` transforms the evaluation results from `evaluate_models()` for output in an R Markdown document.
print_eval_results(
eval_results,
test_set = FALSE,
html = knitr::is_html_output(),
digits = 2,
sigfig = TRUE,
na_disp = "NA",
html_options = NULL,
latex_options = NULL,
fig_height = 6,
fig_width = 10
)
Output of `evaluate_models()`
Logical indicating whether or not this evaluation is for the test set. If `FALSE`, output is assumed to be associated with validation set.
Logical indicating whether the output should be in html format.
If FALSE
, output is in latex format.
Number of digits to display for numeric values
Logical. If TRUE
, digits
refers to the number of
significant figures. If FALSE
, digits
refers to the number of
decimal places.
Character string to display if NA entry is found in table.
List of additional named arguments to pass to
pretty_DT()
.
List of additional named arguments to pass to
pretty_kable()
.
Height of plot (in inches). See `fig.height` in the knitr chunk options.
Width of plot (in inches). See `fig.width` in the knitr chunk options.
Outputs html or latex text for the R Markdown document.