tci_effect: Effect-site TCI algorithm with plasma targeting within small...

View source: R/tci_algorithms.R

tci_effectR Documentation

Effect-site TCI algorithm with plasma targeting within small range of target

Description

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.

Usage

tci_effect(Ct, pkmod, dtm = 1/6, cptol = 0.2, cetol = 0.05, ...)

Arguments

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.

Value

Numeric value

Examples

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))

tci documentation built on Aug. 15, 2022, 9:09 a.m.