raddv | R Documentation |
Function for generating random Protocol Deviations Analysis Dataset for a given Subject-Level Analysis Dataset.
raddv(
adsl,
max_n_dv = 3L,
p_dv = 0.15,
lookup = NULL,
seed = NULL,
na_percentage = 0,
na_vars = list(ASTDT = c(seed = 1234, percentage = 0.1), DVCAT = c(seed = 1234,
percentage = 0.1)),
cached = FALSE
)
adsl |
( |
max_n_dv |
( |
p_dv |
( |
lookup |
( |
seed |
( |
na_percentage |
( |
na_vars |
(
|
cached |
boolean whether the cached ADDV data |
One record per each record in the corresponding SDTM domain.
Keys: STUDYID
, USUBJID
, ASTDT
, DVTERM
, DVSEQ
data.frame
adsl <- radsl(N = 10, seed = 1, study_duration = 2)
addv <- raddv(adsl, seed = 2)
addv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.