predict_curves | R Documentation |
Predict hospitalization curves based on observed seasons
predict_curves(
hosp_obs,
tf_list,
cv_list,
lambda_type = c("lambda.min", "lambda.1se")
)
hosp_obs |
A list containing the hospitalization rate data frames. One dataset per list item. |
tf_list |
A list containing trend filter fits to observed seasons. One fit per list item. |
cv_list |
List. containing cross-validation output for each season's trendfilter fit. |
lambda_type |
Character. One of "lambda.min" or "lambda.1se", each corresponding to different criteria used to select the lambda penalty for each trendfilter fit. Per the |
Trend filter weekly hospitalization rate predictions for each observed season.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.