create_onset: Creates observed truth for seasonal onset

Description Usage Arguments Value

View source: R/create_seasonal.R

Description

Determines observed true values for onset week

Usage

1
create_onset(weekILI, region, year)

Arguments

weekILI

A data.frame of weighted ILI values (default NULL). Must contain columns location, week, and wILI.

region

A character string specifying the target location - either US National or one of HHS Region 1-10

year

Calendar year during which the flu season of interest begins. For the 2015/2016 flu season, year = 2015

Value

A data.frame with columns location, target, and bin_start_incl


jarad/FluSight documentation built on Oct. 24, 2020, 9:58 p.m.