Learn R Programming

tci (version 0.1.2)

tci_pd: Function to extend TCI grid to a set of PD targets

Description

Function to extend TCI grid to a set of PD targets

Usage

tci_pd(pdresp, tms, pkmod, pdmod, pars_pk, pars_pd, pdinv, ecmpt = NULL, ...)

Value

Matrix of infusions with class "tciinf" calculated to reach PD targets.

Arguments

pdresp

PD targets to be passed on to the TCI algorithm.

tms

Times corresponding to each PD target

pkmod

PK model function

pdmod

PD model function

pars_pk

PK model parameters

pars_pd

PD model parameters

pdinv

PD inverse function

ecmpt

Number corresponding to effect-site compartment. Defaults to the last compartment.

...

Arguments to be passed on to 'tci'. These can include alternate TCI algorithms if desired.

Examples

Run this code
tci_pd(pdresp = c(80,70,70), tms = c(2,4,6), pkmod = pkmod2cpt, pdmod = emax,
pars_pk = c(CL = 15, V1 = 10, Q2 = 10, V2 = 20),
pars_pd = c(c50 = 1.5, gamma = 1.47, e0 = 100, emx = 100),
pdinv = inv_emax)

Run the code above in your browser using DataLab