View source: R/utility_functions.R
define_disease_state | R Documentation |
Define the True disease state of a simulated sample
define_disease_state(D = NULL, n_obs = NULL, prev = NULL)
D |
Optional binary vector representing the true classification of each observation. |
n_obs |
An integer representing the number of observations to simulate. |
prev |
A value between 0-1 which represents the proportion of "positive" results in the target population. |
A list of features defining the true disease status of each observation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.