model.pk {REMixed}R Documentation

Generate trajectory of PK model

Description

The administration is via a bolus. The PK model has one compartment (volume V) and a linear elimination (clearance Cl). The parameter ka is defined as ka=\frac{Cl}{V}.

Usage

model.pk(t, y, parms)

Arguments

t

vector of time ;

y

initial condition, named vector of form c(C=C0) ;

parms

named vector of model parameter ; should contain either "Cl" and "V" or "ka".

Value

Matrix of time and observation of Concentration C.

See Also

indParm.

Examples

res <- model.pk(seq(0,30,1),c(C=100),parms=c(ka=1))

plot(res)

[Package REMixed version 0.1.0 Index]