| error_lbl | R Documentation |
Labels for accuracy metric
error_lbl(
truth,
estimate,
show_metrics = c("rmse", "mean", "bias", "corr"),
metrics_lbl = c(rmse = "RMSE", mean = "Mean Abs. Dev.", bias = "Mean Dev.", corr =
"Correlation"),
err_accuracy = 0.1,
is_percent = TRUE,
suff = ifelse(is_percent, "pp", "")
)
truth |
Vector of true values |
estimate |
Vector of estimates, must be the same length as |
show_metrics |
The metrics to show. Defaults to RMSE and accuracy |
metrics_lbl |
The labels to show for each metric. Named vector |
err_accuracy |
Significant digits for percentage points. Corresponds to the accuracy argument in scales::percent |
is_percent |
Is the error displayed in percent (pp)? |
suff |
Suffix units to put on |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.