rmw_calculate_model_errors: Function to calculate observed-predicted error statistics.

View source: R/rmw_calculate_model_errors.R

rmw_calculate_model_errorsR 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",
  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".

as_long

Should the returned tibble be in "long" format? This is useful for plotting.

Value

Tibble.

Author(s)

Stuart K. Grange


rmweather documentation built on Nov. 21, 2023, 5:06 p.m.