rmw_calculate_model_errors {rmweather}R Documentation

Function to calculate observed-predicted error statistics.

Description

Function to calculate observed-predicted error statistics.

Usage

rmw_calculate_model_errors(
  df,
  value_model = "value_predict",
  value_observed = "value",
  testing_only = TRUE,
  as_long = FALSE
)

Arguments

df

Data frame with observed-predicted variables.

value_model

The modelled/predicted variable in "df".

value_observed

The observed variable in "df".

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.

Value

Tibble.

Author(s)

Stuart K. Grange


[Package rmweather version 0.2.6 Index]