draw_symptomatic_status: Determine whether a new case is symptomatic from a uniform...

Description Usage Arguments Value

View source: R/draw_distributions.R

Description

Determine whether a new case is symptomatic from a uniform distribution

Usage

1
draw_symptomatic_status(n, sim_params)

Arguments

n

Number of cases required

sim_params

sim_params object (a list) containing simulation parameters, here, the sim_params$p_sym value is used as the probability of a case being symptomatic.

Value

A boolean vector of length n for whether a case is symptomatic


bcgov/epi.branch.sim documentation built on Dec. 16, 2020, 5:49 a.m.