radhy {random.cdisc.data} | R Documentation |
Hy's Law Analysis Dataset (ADHY)
Description
Function for generating a random Hy's Law Analysis Dataset for a given Subject-Level Analysis Dataset.
Usage
radhy(
adsl,
param = c("TBILI <= 2 times ULN and ALT value category",
"TBILI > 2 times ULN and AST value category",
"TBILI > 2 times ULN and ALT value category",
"TBILI <= 2 times ULN and AST value category",
"TBILI > 2 times ULN and ALKPH <= 2 times ULN and ALT value category",
"TBILI > 2 times ULN and ALKPH <= 2 times ULN and AST value category",
"TBILI > 2 times ULN and ALKPH <= 5 times ULN and ALT value category",
"TBILI > 2 times ULN and ALKPH <= 5 times ULN and AST value category",
"TBILI <= 2 times ULN and two consecutive elevations of ALT in relation to ULN",
"TBILI > 2 times ULN and two consecutive elevations of AST in relation to ULN",
"TBILI <= 2 times ULN and two consecutive elevations of AST in relation to ULN",
"TBILI > 2 times ULN and two consecutive elevations of ALT in relation to ULN",
"TBILI > 2 times ULN and two consecutive elevations of ALT in relation to Baseline",
"TBILI <= 2 times ULN and two consecutive elevations of ALT in relation to Baseline",
"TBILI > 2 times ULN and two consecutive elevations of AST in relation to Baseline",
"TBILI <= 2 times ULN and two consecutive elevations of AST in relation to Baseline",
"ALT > 3 times ULN by Period", "AST > 3 times ULN by Period",
"ALT or AST > 3 times ULN by Period", "ALT > 3 times Baseline by Period",
"AST > 3 times Baseline by Period", "ALT or AST > 3 times Baseline by Period"),
paramcd = c("BLAL", "BGAS", "BGAL", "BLAS", "BA2AL", "BA2AS", "BA5AL", "BA5AS",
"BL2AL2CU", "BG2AS2CU", "BL2AS2CU", "BG2AL2CU", "BG2AL2CB", "BL2AL2CB", "BG2AS2CB",
"BL2AS2CB", "ALTPULN", "ASTPULN", "ALTASTPU", "ALTPBASE", "ASTPBASE", "ALTASTPB"),
seed = NULL,
cached = FALSE
)
Arguments
adsl |
( |
param |
( |
paramcd |
( |
seed |
( |
cached |
boolean whether the cached ADHY data |
Details
One record per subject per parameter per analysis visit per analysis date.
Keys: STUDYID
, USUBJID
, PARAMCD
, AVISITN
, ADTM
, SRCSEQ
Value
data.frame
Author(s)
wojciakw
Examples
adsl <- radsl(N = 10, seed = 1, study_duration = 2)
adhy <- radhy(adsl, seed = 2)
adhy
[Package random.cdisc.data version 0.3.15 Index]