Description Usage Arguments Details Value Author(s) References See Also Examples
The NONMEM data item ADDL on a dose record expresses the number of additional
implicit doses that should follow at a regular interval II. In the case
where explicit doses exist, addl
supports compacting them into ADDL/II
notation.
1 2 3 4 5 6 7 8 9 10 |
x |
numeric |
interval |
numeric, e.g. hours |
collapse |
boolean: drop explicit records that are implied by ADDL |
cols |
conventional column names, as for |
... |
ignored |
For the default method, if an element of x
is followed by n elements that occur
at a fixed interval interval
, n is returned at that position
and NA is returned for each of the following elements. n may be zero.
It is the responsibility of the user to apply the function to meaningful subsets of the data, if any: e.g., sequential records with common subject and dose.
For the data.frame method, an attempt is made to apply the default method,
making assumptions about the structure of the data set. An error results
if non-zero ADDL is calculated where ADDL is already non-zero. If collapse
is TRUE,
superfluous records are dropped; otherwise, their rownames are prefixed with "-".
a numeric vector as long as x
Tim Bergsma
http://metrumrg.googlecode.com
reapply
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.