Description Usage Arguments Author(s)
The sample_window
function uses dose administration times to generate additional observations for insertion
into a mrgsolve dataset. The more intensive sampling around drug doses may help more accurately estimate quantities
such as AUC, while avoiding potentially time-consuming oversampling at other times.
1 2 | sample_window(dosetime, interval, sampfreq, include = FALSE,
before = FALSE, negtime = FALSE)
|
dosetime |
Numeric. Vector of dose administration times. |
interval |
Numeric. A single value corresponding to the width of the sampling interval. |
sampfreq |
Numeric. The frequency of sampling (in fractions of an hour). |
include |
Logical. Should dose times be included for sampling? Default is to avoid resampling at dose times. |
before |
Logical. Should additional samples be taken before dose times, or only after a dose is administered? |
negtime |
Logical. Should negative times be allowed? Default is to disallow negative observation times. |
Ryan Kyle, ryan.kyle@mail.mcgill.ca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.