radpc {random.cdisc.data} | R Documentation |
Pharmacokinetics Analysis Dataset (ADPC)
Description
Function for generating a random Pharmacokinetics Analysis Dataset for a given Subject-Level Analysis Dataset.
Usage
radpc(
adsl,
avalu = "ug/mL",
constants = c(D = 100, ka = 0.8, ke = 1),
duration = 2,
seed = NULL,
na_percentage = 0,
na_vars = list(AVAL = c(NA, 0.1)),
cached = FALSE
)
Arguments
adsl |
( |
avalu |
( |
constants |
( |
duration |
( |
seed |
( |
na_percentage |
( |
na_vars |
(
|
cached |
boolean whether the cached ADPC data |
Details
One record per study, subject, parameter, and time point.
Value
data.frame
Examples
adsl <- radsl(N = 10, seed = 1, study_duration = 2)
adpc <- radpc(adsl, seed = 2)
adpc
adpc <- radpc(adsl, seed = 2, duration = 3)
adpc