Description Usage Arguments Value
View source: R/averaging_checks.R
Check if quantile forecasts are commensurate across groups
1 2 3 4 5 6 | averaging_checks(
cards,
grp_vars = c("forecaster", "forecast_date", "ahead"),
avg_vars = c("geo_value"),
return_checks = FALSE
)
|
cards |
a data frame containing at least the columns named
in |
grp_vars |
character vector of named columns in the score_card at which average performance will be returned |
avg_vars |
character vector of named columns in the score_card over which averages will be computed |
return_checks |
useful for debugging. returns a data frame indicating which groups have valid or invalid avg_vars |
filtered cards based on which groups are completely valid
(meaning "correct" quantiles are present for all avg_vars
in the group)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.