Learn R Programming

tci (version 0.1.2)

pkmod3cpt: Three compartment IV infusion with first-order elimination.

Description

Three compartment IV infusion with first-order elimination.

Usage

pkmod3cpt(tm, kR, pars, init = c(0, 0, 0), inittm = 0, k20 = 0, k30 = 0)

Value

Numeric matrix of concentrations for a constant infusion rate

Arguments

tm

Vector of times to evaluate the PK function at

kR

Infusion rate (e.g. ml/min).

pars

Named vector of parameters with names ('K10','K12','K21','V1','V2') or ('CL','Q','V1','V2').

init

Initial concentration. Defaults to 0 in all compartments.

inittm

Time of initiation of infusion. Defaults to 0.

k20

Elimination rate constant for second compartment. Defaults to 0.

k30

Elimination rate constant for second compartment. Defaults to 0.

Examples

Run this code
pkmod3cpt(1,1,c(CL = 15, Q2 = 10, Q3 = 5, V1 = 10, V2 = 20, V3 = 50))

Run the code above in your browser using DataLab