nComp: Get Amounts of Each Compartments using Lambdas and...

Description Usage Arguments Details Value Author(s) Examples

View source: R/nComp.R

Description

It calculates using multi-compartment model.

Usage

1
nComp(Sol, Ka=0, DH)

Arguments

Sol

Solution list of lambdas and coefficients

Ka

Absorption rate constant

DH

Expanded dosing history table

Details

First compartment is the gut compartment for oral dosing. IV bolus and infusion dosing should be done at the second compartment. If a bolus dose was given at time T, it is reflected at times of larger than T. This is more close to real observation. ADAPT does like this, but NONMEM does not.

Value

This returns a table with the gut and the other compartment columns

Author(s)

Kyun-Seop Bae <k@acr.kr>

Examples

1
2
3
4
5
6
DAT
DAT2 = ExpandDH(DAT)
Sol = SolComp2(K10=0.1, K12=3, K21=1)
X2 = nComp(Sol, Ka=1, DAT2)
X2
matplot(DAT2[, "TIME"], X2, type="l")

wnl documentation built on Aug. 28, 2020, 1:11 a.m.