draw_trace_app_compliance: Determine whether a case will comply with tracing app...

Description Usage Arguments Value

View source: R/draw_distributions.R

Description

Draws a uniform random number and compares to app compliance probability. This status is determined (but never used) even for cases that aren't traced by the app.

Usage

1
draw_trace_app_compliance(state_df, sim_params)

Arguments

state_df

state_df object for the new cases

sim_params

sim_params object (a list) containing simulation parameters, here, the sim_params$p_trace_app_comp value is used as the probability of contact tracing app compliance.

Value

A boolean vector of length n for each case's app compliance status


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