new_QuantileForecastMatrix: Create a QuantileForecastMatrix object

View source: R/QuantileForecastMatrix.R

new_QuantileForecastMatrixR Documentation

Create a QuantileForecastMatrix object

Description

Create a QuantileForecastMatrix object

Usage

new_QuantileForecastMatrix(
  qfm,
  row_index,
  col_index,
  model_col,
  quantile_name_col,
  quantile_value_col
)

Arguments

qfm

a matrix of forecasts. Distinct combinations of unit,

row_index

data frame giving unique combination of identifiers such as location, forecast date, and target for each row of qfm

col_index

data frame giving the combination of model and quantile corresponding to each column of qfm

model_col

name of column identifying model in long format representation of forecasts; also appears in col_index

quantile_name_col

name of column for quantile probability in long format data frame representation of forecasts

quantile_value_col

name of column for quantile value in long format data frame representation of forecasts

Value

QuantileForecastMatrix object


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