create_peak: Creates observed truth for seasonal peak values

Description Usage Arguments Value

View source: R/create_seasonal.R

Description

Determines observed true values for peak week and peak weighted ILINet percentage for an influenza season

Usage

1
create_peak(weekILI, location, challenge = "ilinet")

Arguments

weekILI

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

location

A character string specifying the target location or age group

challenge

one of "ilinet", "hospital" or "state_ili", indicating which challenge the submission is for (default "ilinet")

Value

A data.frame with columns location (or age_grp), target, and bin_start_incl


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