| bolus | R Documentation |
Administer a bolus dose inside a rxode2 model
bolus(amt, cmt = 1, ii = 0, addl = 0, ss = 0)
amt |
Numeric dose amount (for dose events) or |
cmt |
Integer compartment number (1-based) to which the dose is applied. Default is 1 |
ii |
Numeric inter-dose interval. Used together with |
addl |
Integer number of additional doses beyond the first.
The total number of doses pushed is |
ss |
Integer steady-state flag applied to the first dose only
(
|
bolus() is evaluated at every output time point (when the solver is
exactly at a scheduled event time). The pushed event is inserted into
the individual's event timeline and the solver visits it now or at the
specified future time.
The number of events that may be pushed per individual is limited by
the maxExtra argument of rxSolve(). When maxExtra = 0
(the default) there is no limit. Exceeding the limit causes an
error.
Past-time pushes (where time < t) are silently ignored and counted;
a warning is issued after solving.
This function is only meaningful inside an rxode2 model; it
returns NULL invisibly if called from R directly (after signaling
an error).
Matthew L. Fidler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.