Learn R Programming

wnl (version 0.8.3)

Comp1: One compartment model - analytical

Description

It calculates using one compartment model.

Usage

Comp1(Ke, Ka=0, DH)

Value

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

Arguments

Ke

Elimination rate constant

Ka

Absorption rate constant

DH

Expanded dosing history table

Author

Kyun-Seop Bae <k@acr.kr>

Details

First compartment is the gut compartment for oral dosing. IV bolus and infusion dosing should be done at the second compartment.

Examples

Run this code
DAT
DAT2 = ExpandDH(DAT)
X1 = Comp1(Ke=0.1, Ka=1, DAT2)
X1
matplot(DAT2[, "TIME"], X1, type="l")

Run the code above in your browser using DataLab