radsub {random.cdisc.data} | R Documentation |
Subcategory Analysis Dataset (ADSUB)
Description
Function for generating a random Subcategory Analysis Dataset for a given Subject-Level Analysis Dataset.
Usage
radsub(
adsl,
param = c("Baseline Weight", "Baseline Height", "Baseline BMI", "Baseline ECOG",
"Baseline Biomarker Mutation"),
paramcd = c("BWGHTSI", "BHGHTSI", "BBMISI", "BECOG", "BBMRKR1"),
seed = NULL,
na_percentage = 0,
na_vars = list(),
cached = FALSE
)
Arguments
adsl |
( |
param |
( |
paramcd |
( |
seed |
( |
na_percentage |
( |
na_vars |
(
|
cached |
boolean whether the cached ADSUB data |
Details
One record per subject.
Keys: STUDYID
, USUBJID
, PARAMCD
, AVISITN
, ADTM
, SRCSEQ
Value
data.frame
Author(s)
tomlinsj, npaszty, Xuefeng Hou, dipietrc
Examples
adsl <- radsl(N = 10, seed = 1, study_duration = 2)
adsub <- radsub(adsl, seed = 2)
adsub