mic_stat | R Documentation |
Compute an estimate of pharmacodynamic target attainment, typically defined to be some multiple of the minimum inhibitory concentration of the infecting microorganism.
mic_stat(
ivt,
th,
dat = data.frame(),
pars = c(getOption("pkpredict.pip.default.prior")$log_pk_mean,
getOption("pkpredict.pip.default.prior")$log_err_mean),
cod = 12,
timeint = NULL,
conf.level = 0.95,
mcmc = FALSE,
nreps = 5000,
nburnin = 2000,
nthin = 10,
seed = NULL,
shiny = FALSE,
...
)
ivt |
List with containing start of infusion times (h), end of infusion times (h),
and rate of infusion (g/h) at each dose. First infusion within |
th |
Threshold value for effective treatment - check units |
dat |
data |
pars |
Vector of pharmacokinetic parameters of length 5: (log(v_1), log(k_10), log(k_12), log(k_21), log(err)) |
cod |
Length of time after end of last dose to consider |
timeint |
Vector with two elements indicating the start and end of the time interval over which
the statistic is computed. By default covers the full dosing period + |
conf.level |
Desired confidence level of the interval |
mcmc |
logical: should estimate of time above threshold be computed using MCMC (false = laplace approximation) |
nreps |
mcmc replications |
nburnin |
mcmc burn in iterations |
nthin |
mcmc thinning interval |
seed |
seed for replication |
shiny |
is shiny being used |
... |
additional arguments (e.g., 'mu', 'sig', 'ler_mean', 'ler_sdev' for changing the PK parameter prior mean, variance-covariance matrix and error prior mean and standard deviation, respectively) |
Fraction of time spent above the specified threshold within a certain time interval (by default: time of first dose through
cod
hours after end of the last dose).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.