Description Usage Arguments Details Value Author(s) See Also Examples
This function will flag doses that are non-informative in a PK data set because they either occur after the last non-dose event or they precede a dose given at steady state with no non-dose events occurring between the two.
1 | blk.noninformativeDose(id, dose.ind, ss.ind = NULL)
|
id |
A valid |
dose.ind |
A logical vector in |
ss.ind |
A logical vector in |
This function operates on a PK data set in block-format
.
Rows that corresponding to dose events are
indicated by dose.ind
, and rows that correspond to doses taken at
steady-state are indicated by ss.ind
. A steady-state event renders
any dose events that precede it with no intervening non-dose events
non-informative. Doses that occur at the end of a block (i.e. after the last
non-dose event) are also considered non-informative.
Non-informative dose events can effectively be removed from the data without
affecting the analysis of these data.
A logical vector in block-format
with respect to id
indicating dose events
that are non-informative.
Ben Rich <benjamin.rich@certara.com>
block-format
blk.isSteadyState
1 2 3 4 5 6 7 8 9 10 | require(nlme)
data(Phenobarb)
dat <- Phenobarb[1:56,] # First 4 subjects
attach(dat)
cbind(dat, INTERDOSE.TIME=blk.intereventTime(time, asID(Subject), !is.na(dose)),
IS.SS=blk.isSteadyState(time, asID(Subject), !is.na(dose), 12, 0.301, 60, dose),
FLAG=blk.noninformativeDose(asID(Subject), !is.na(dose), blk.isSteadyState(time, asID(Subject), !is.na(dose), 12, 0.301, 60, dose)))
detach(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.