first_nonzero_incid: Get the first day of non-zero incidence across all variants...

View source: R/gibbs_draws.R

first_nonzero_incidR Documentation

Get the first day of non-zero incidence across all variants and locations.

Description

Get the first day of non-zero incidence across all variants and locations.

Usage

first_nonzero_incid(incid)

Arguments

incid

a multidimensional array containing values of the incidence for each time step (1st dimension), location (2nd dimension) and pathogen/strain/variant (3rd dimension)

Details

For each variant, find the first day of non-zero incidence. The maximum of these is the smallest possible point at which estimation can begin.

Value

integer

Author(s)

Sangeeta Bhatia


annecori/EpiEstim documentation built on Sept. 7, 2024, 7:34 p.m.