radtte {random.cdisc.data} | R Documentation |
Time-to-Event Analysis Dataset (ADTTE)
Description
Function for generating a random Time-to-Event Analysis Dataset for a given Subject-Level Analysis Dataset.
Usage
radtte(
adsl,
event_descr = NULL,
censor_descr = NULL,
lookup = NULL,
seed = NULL,
na_percentage = 0,
na_vars = list(CNSR = c(NA, 0.1), AVAL = c(1234, 0.1), AVALU = c(1234, 0.1)),
cached = FALSE
)
Arguments
adsl |
( |
event_descr |
( |
censor_descr |
( |
lookup |
( |
seed |
( |
na_percentage |
( |
na_vars |
(
|
cached |
boolean whether the cached ADTTE data |
Details
Keys: STUDYID
, USUBJID
, PARAMCD
Value
data.frame
Examples
adsl <- radsl(N = 10, seed = 1, study_duration = 2)
adtte <- radtte(adsl, seed = 2)
adtte