Skip to contents

Get count values

Usage

get_count_values(input_count_data, ot, ht, count_col_name = "count")

Arguments

input_count_data

a dataframe with the input count data

ot

integer indicating the total duration of time that the model has available calibration data in days

ht

integer indicating the number of days to produce count estimates outside the calibration period (forecast + nowcast time) in days

count_col_name

A string representing the name of the column in the input_count_data that indicates the number of daily counts of the epidemiological indicator, e.g. cases or hospital admissions, default is count

Value

A list containing the necessary vectors of values that the stan model requires: counts: a vector of number of daily count observations day_of_week: a vector indicating the day of the week of each of the dates in the calibration and forecast period