new_qra_fit: Create a qra_fit object

View source: R/qra_fit.R

new_qra_fitR Documentation

Create a qra_fit object

Description

Create a qra_fit object

Usage

new_qra_fit(parameters, convex)

Arguments

parameters

named list with two components:

  • 'intercept': data frame optionally with a column for quantile values, and corresponding intercepts

  • 'coefficients': data frame of models, optionally quantile values, and corresponding model coefficients

convex

logical; if TRUE, predictions are done by passing weights through a softmax transformation; otherwise, no constraint is imposed.

Value

qra_fit object


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