radeg {random.cdisc.data} | R Documentation |
ECG Analysis Dataset (ADEG)
Description
Function for generating random dataset from ECG Analysis Dataset for a given Subject-Level Analysis Dataset.
Usage
radeg(
adsl,
egcat = c("INTERVAL", "INTERVAL", "MEASUREMENT", "FINDING"),
param = c("QT Duration", "RR Duration", "Heart Rate", "ECG Interpretation"),
paramcd = c("QT", "RR", "HR", "ECGINTP"),
paramu = c("msec", "msec", "beats/min", ""),
visit_format = "WEEK",
n_assessments = 5L,
n_days = 5L,
max_n_eg = 10L,
lookup = NULL,
seed = NULL,
na_percentage = 0,
na_vars = list(ABLFL = c(1235, 0.1), BASE = c(NA, 0.1), BASEC = c(NA, 0.1), CHG =
c(1234, 0.1), PCHG = c(1234, 0.1)),
cached = FALSE
)
Arguments
adsl |
( |
egcat |
( |
param |
( |
paramcd |
( |
paramu |
( |
visit_format |
( |
n_assessments |
( |
n_days |
( |
max_n_eg |
( |
lookup |
( |
seed |
( |
na_percentage |
( |
na_vars |
(
|
cached |
boolean whether the cached ADEG data |
Details
One record per subject per parameter per analysis visit per analysis date.
Keys: STUDYID
, USUBJID
, PARAMCD
, BASETYPE
, AVISITN
, ATPTN
, DTYPE
, ADTM
, EGSEQ
, ASPID
Value
data.frame
Author(s)
tomlinsj, npaszty, Xuefeng Hou, dipietrc
Examples
adsl <- radsl(N = 10, seed = 1, study_duration = 2)
adeg <- radeg(adsl, visit_format = "WEEK", n_assessments = 7L, seed = 2)
adeg
adeg <- radeg(adsl, visit_format = "CYCLE", n_assessments = 2L, seed = 2)
adeg