Description Usage Arguments Value
View source: R/draw_distributions.R
Draws a uniform random number and compares to app usage probability to determine whether a case is an app user. For a case to be traced via the app, the secondary case and the primary/index case must both be app users.
1 | draw_trace_app_user_status(n, sim_params)
|
n |
Number of cases to consider |
sim_params |
|
A boolean vector of length n for each case's app usage status
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.