
Combine data from a nowcast dataframe, strata, and reference dates
Source:R/baselinenowcast_df-class.R
new_baselinenowcast_df.RdCombines data from a nowcast dataframe, a named list of the
strata associated with the nowcast dataframe, and a vector of reference
dates corresponding to the time column in the baselinenowcast_df
Arguments
- baselinenowcast_df
Data.frame containing information for multiple draws with columns for the reference time (
time), the predicted counts (pred_count), and the draw number (draw).- reference_dates
Vector of reference dates corresponding to the reference times in the
baselinenowcast_df.- output_type
Character string indicating whether the output should be samples (
"samples")from the estimate with full uncertainty or whether to return the point estimate ("point"). Default is"samples".
Value
An object of class baselinenowcast_df