define_disease_state {emery} | R Documentation |
Define the True disease state of a simulated sample
Description
Define the True disease state of a simulated sample
Usage
define_disease_state(D = NULL, n_obs = NULL, prev = NULL)
Arguments
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. |
Value
A list of features defining the true disease status of each observation
[Package emery version 0.5.1 Index]