radex {random.cdisc.data} | R Documentation |
Exposure Analysis Dataset (ADEX)
Description
Function for generating random Exposure Analysis Dataset for a given Subject-Level Analysis Dataset.
Usage
radex(
adsl,
param = c("Dose administered during constant dosing interval",
"Number of doses administered during constant dosing interval",
"Total dose administered", "Total number of doses administered"),
paramcd = c("DOSE", "NDOSE", "TDOSE", "TNDOSE"),
paramu = c("mg", " ", "mg", " "),
parcat1 = c("INDIVIDUAL", "OVERALL"),
parcat2 = c("Drug A", "Drug B"),
visit_format = "WEEK",
n_assessments = 5L,
n_days = 5L,
max_n_exs = 6L,
lookup = NULL,
seed = NULL,
na_percentage = 0,
na_vars = list(AVAL = c(NA, 0.1), AVALU = c(NA), 0.1),
cached = FALSE
)
Arguments
adsl |
( |
param |
( |
paramcd |
( |
paramu |
( |
parcat1 |
( |
parcat2 |
( |
visit_format |
( |
n_assessments |
( |
n_days |
( |
max_n_exs |
( |
lookup |
( |
seed |
( |
na_percentage |
( |
na_vars |
(
|
cached |
boolean whether the cached ADEX data |
Details
One record per each record in the corresponding SDTM domain.
Keys: STUDYID
, USUBJID
, EXSEQ
, PARAMCD
, PARCAT1
, ASTDTM
, AENDTM
, ASTDY
, AENDY
,
AVISITN
, EXDOSFRQ
, EXROUTE
, VISIT
, VISITDY
, EXSTDTC
, EXENDTC
, EXSTDY
, EXENDY
Value
data.frame
Examples
adsl <- radsl(N = 10, study_duration = 2, seed = 1)
adex <- radex(adsl, seed = 2)
adex