calc_forecast_missingness: Compute forecast missingness for each combination of location...

View source: R/model_eligibility.R

calc_forecast_missingnessR Documentation

Compute forecast missingness for each combination of location and model

Description

Compute forecast missingness for each combination of location and model

Usage

calc_forecast_missingness(qfm, by_target = FALSE, by_week = FALSE)

Arguments

qfm

matrix of model forecasts of class QuantileForecastMatrix

by_target

logical; if TRUE, results are returned by target, and if FALSE results are summarized across targets. by_target may only be set to TRUE if by_week is TRUE.

by_week

logical; if TRUE, results are returned by forecast week, and if FALSE results are summarized across weeks.

Value

data frame with a row for each combination of location, forecast week end date (if requestrd), and model and a logical column called 'any_missing' with entry TRUE if any forecasts were missing across all quantiles and targets


reichlab/covidEnsembles documentation built on Jan. 31, 2024, 7:21 p.m.