Description Usage Arguments Examples
Returns named vector of the most common performance metrics
1 2 3 4 5 6 7 | performance_metrics(
observed,
predicted,
SESOI_lower = 0,
SESOI_upper = 0,
na.rm = FALSE
)
|
observed |
Numeric vector |
predicted |
Numeric vector |
SESOI_lower |
Lower smallest effect size of interest threshold |
SESOI_upper |
Upper smallest effect size of interest threshold |
na.rm |
Should NAs be removed? Default is |
1 2 3 4 5 6 7 8 9 10 11 | m1 <- lm_model(
predictors = iris[2:3],
outcome = iris[[1]]
)
predicted <- generic_predict(m1)
performance_metrics(
observed = iris[[1]],
predicted = predicted
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.