PKPDmodels (version 0.3.2)

PKexpr: Expressions for PK models with linear elimination

Description

Return a formula for the PK model with linear elimination according to the number of compartments, the administration form and the dosage pattern.

Usage

PKexpr(admin = c("bolus", "infusion", "oral"), dosage = c("sd", "md", "ss"), subst = list(), cpt = 1L)

Arguments

admin
form of administration of the drug, one of "bolus", "infusion" or "oral". Defaults to "bolus".
dosage
form of dosage, one of "sd" (single dose), "md" (multiple, equally-spaced doses) and "ss" (steady-state). Defaults to "sd".
subst
a list of formulas of substitutions to perform
cpt
scalar integer - the number of model compartments.

Value

a formula

Examples

Run this code
## single-dose oral administration
PKexpr("oral", "sd")

Run the code above in your browser using DataLab