extract_subset_prediction: extract subset of prediction data frame containing...

View source: R/forecasting_practical.R

extract_subset_predictionR Documentation

extract subset of prediction data frame containing predictions #' calc_prediction_accuracy calculates the proportion of prediction points which are within a given percentage threshold of the observed incidence

Description

extract subset of prediction data frame containing predictions #' calc_prediction_accuracy calculates the proportion of prediction points which are within a given percentage threshold of the observed incidence

Usage

extract_subset_prediction(prediction_df)

Arguments

prediction_df

prediction data frame returned by extract_predicted_points or extract_predicted_points_seir

Value

data frame: incidence and prediction for time points where data is available


c97sr/learnidd documentation built on Jan. 12, 2025, 4:24 p.m.