Returns multiple model performance statistics
Arguments
- mod
A numeric vector of modelled values
- obs
A numeric vector of observed values
Value
A single row of a data frame (tibble) with columns corresponding to statistics
Examples
stats <- get_stats(mod, obs)
#> Error in eval(predvars, data, env): object 'obs' not found