getDayOfPeak.SEIRModel: Get day of peak

View source: R/getDayOfPeak.R

getDayOfPeak.SEIRModelR Documentation

Get day of peak

Description

Gets the day of peak infections from the model

Usage

## S3 method for class 'SEIRModel'
getDayOfPeak(model, incidence = FALSE,
  symptomatic = FALSE)

Arguments

model

The model from which to get the data

incidence

If true, returns infection incidence, otherwise returns infection prevalence; defaults to FALSE

symptomatic

Whether or not to only report symptomatic infections; defaults to FALSE

Value

The day of peak infections


HHS/ASPR-flumodels documentation built on Dec. 6, 2022, 12:20 p.m.