Description Usage Arguments Details Value Author(s) Examples
Function to derive varianles about treatment exposure, from longitudinal data typical of a clinical trial.
1 2 3 | pgx.exposure(d, exposure,
estart = "exstdtR", eend = "exendtR",
subjid = "USUBJID")
|
d |
A data frame containing subject identifiers |
exposure |
A data frame containing therapy exposure records |
estart |
Name of the variable in |
eend |
Name of the variable in |
subjid |
Name of the variable in |
This function derives total time on treatment, using
mincover
.
TO DO: Calculate first and last days, elapsed time, cumulative dose
A data frame of derived variables.
Toby Johnson Toby.x.Johnson@gsk.com
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.