Learn R Programming

tci (version 0.1.2)

tci_comb: 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_comb(
  Ct,
  pkmod,
  cptol = 0.2,
  cetol = 0.05,
  cp_cmpt = NULL,
  ce_cmpt = NULL,
  ...
)

Value

Numeric value

Arguments

Ct

Numeric vector of target effect-site concentrations.

pkmod

PK model

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.

cp_cmpt

Position of central compartment. Defaults to first compartment.

ce_cmpt

Position of effect-site compartment. Defaults to last compartment.

...

Arguments passed on to 'tci_plasma' and 'tci_effect' functions.

Examples

Run this code
tci_comb(Ct = 2, pkmod = pkmod2cpt, dtm = 1, pars = c(CL = 15, V1 = 10, Q2 = 10, V2 = 20))

Run the code above in your browser using DataLab