View source: R/tci_algorithms.R
tci_effect | R Documentation |
Modified effect-site TCI algorithm that switches to plasma-targeting when the plasma concentration is within 20% of the target and the effect-site concentration is within 0.5% of the target. The modification decreases computation time and prevents oscillatory behavior in the effect-site concentrations.
tci_effect(Ct, pkmod, dtm = 1/6, cptol = 0.2, cetol = 0.05, ...)
Ct |
Numeric vector of target effect-site concentrations. |
pkmod |
PK model |
dtm |
TCI update frequency. Defaults to 1/6, corresponding to 10-second intervals if model parameters are in terms of minutes. |
cptol |
Percentage of plasma concentration required to be within to switch to plasma targeting. |
cetol |
Percentage of effect-site concentration required to be within to switch to plasma targeting. |
... |
Arguments passed on to 'tci_plasma' and 'tci_effect_only' functions, including to update.pkmod. |
Numeric value
my_mod <- pkmod(pars_pk = c(v1 = 8.995, v2 = 17.297, v3 = 120.963, cl = 1.382, q2 = 0.919, q3 = 0.609, ke0 = 1.289)) tci_effect(Ct = 2, pkmod = my_mod) # update parameters tci_effect(Ct = 2, pkmod = my_mod, pars_pk = c(v1 = 12, cl = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.