View source: R/rmw_calculate_model_errors.R
rmw_calculate_model_errors | R Documentation |
Function to calculate observed-predicted error statistics.
rmw_calculate_model_errors(
df,
value_model = "value_predict",
value_observed = "value",
testing_only = TRUE,
as_long = FALSE
)
df |
Data frame with observed-predicted variables. |
value_model |
The modelled/predicted variable in |
value_observed |
The observed variable in |
testing_only |
Should only the testing set be used for the calculation of errors? |
as_long |
Should the returned tibble be in "long" format? This is useful for plotting. |
Tibble.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.