merge_pred_and_obs: Merge Forecast Data And Observations

Description Usage Arguments Value

Description

The function more or less provides a wrapper around merge that aims to handle the merging well if additional columns are present in one or both data sets. If in doubt, you should probably merge the data sets manually.

Usage

1
merge_pred_and_obs(forecasts, observations, by = NULL)

Arguments

forecasts

data.frame with the forecast data (as can be passed to eval_forecasts).

observations

data.frame with the observations

by

character vector that denotes the columns by which to merge. Any value that is not a column in observations will be removed.

Value

a data.frame with forecasts and observations


nikosbosse/scoringutils2 documentation built on Jan. 8, 2021, 12:12 p.m.