R/scale_by_forecaster.R
scale_by_forecaster.RdScale error measures based on those of a particular forecaster.
scale_by_forecaster( score_card, score_cols, base_forecaster_name, id_cols = c("forecaster", "ahead", "geo_value", "forecast_date", "data_source", "signal", "target_end_date", "incidence_period"), drop_base_entries = TRUE )
| score_card | score_card like that returned by |
|---|---|
| score_cols | vector of column names in |
| base_forecaster_name | name of forecaster in |
| id_cols | vector of column names in |
| drop_base_entries | whether to drop the entries in |
A tibble whose columns are c(id_cols, score_cols) whose id_cols values are copied
directly from score_card and whose score_cols values are normalized with respect to
base_forecaster_name.