radab {random.cdisc.data} | R Documentation |
Anti-Drug Antibody Analysis Dataset (ADAB)
Description
Function for generating a random Anti-Drug Antibody Analysis Dataset for a given Subject-Level Analysis Dataset and Pharmacokinetics Analysis Dataset.
Usage
radab(
adsl,
adpc,
constants = c(D = 100, ka = 0.8, ke = 1),
paramcd = c("R1800000", "RESULT1", "R1800001", "RESULT2", "ADASTAT1", "INDUCD1",
"ENHANC1", "TRUNAFF1", "EMERNEG1", "EMERPOS1", "PERSADA1", "TRANADA1", "BFLAG1",
"TIMADA1", "ADADUR1", "ADASTAT2", "INDUCD2", "ENHANC2", "EMERNEG2", "EMERPOS2",
"BFLAG2", "TRUNAFF2"),
param = c("Antibody titer units", "ADA interpreted per sample result",
"Neutralizing Antibody titer units", "NAB interpreted per sample result",
"ADA Status of a patient", "Treatment induced ADA", "Treatment enhanced ADA",
"Treatment unaffected", "Treatment Emergent - Negative",
"Treatment Emergent - Positive", "Persistent ADA", "Transient ADA", "Baseline",
"Time to onset of ADA", "ADA Duration", "NAB Status of a patient",
"Treatment induced ADA, Neutralizing Antibody",
"Treatment enhanced ADA, Neutralizing Antibody",
"Treatment Emergent - Negative, Neutralizing Antibody",
"Treatment Emergent - Positive, Neutralizing Antibody",
"Baseline, Neutralizing Antibody", "Treatment unaffected, Neutralizing Antibody"),
avalu = c("titer", "", "titer", "", "", "", "", "", "", "", "", "", "", "weeks",
"weeks", "", "", "", "", "", "", ""),
seed = NULL,
na_percentage = 0,
na_vars = list(AVAL = c(NA, 0.1)),
cached = FALSE
)
Arguments
adsl |
( |
adpc |
( |
constants |
( |
paramcd |
( |
param |
( |
avalu |
( |
seed |
( |
na_percentage |
( |
na_vars |
(
|
cached |
boolean whether the cached ADAB data |
Details
One record per study per subject per parameter per time point: "R1800000", "RESULT1", "R1800001", "RESULT2".
Value
data.frame
Examples
adsl <- radsl(N = 10, seed = 1, study_duration = 2)
adpc <- radpc(adsl, seed = 2, duration = 9 * 7)
adab <- radab(adsl, adpc, seed = 2)
adab