Learn R Programming

invivoPKfit (version 2.0.1)

cp_1comp: Analytical 1-compartment model

Description

Calculates plasma concentrations vs. time according to the analytical solution for the 1-compartment model, for single bolus doses (IV and/or oral).

Usage

cp_1comp(params, time, dose, route, medium = "plasma")

Value

A vector of blood or plasma concentration values corresponding to `time`.

Arguments

params

A named numeric vector of model parameter values. See Details for requirements.

time

A numeric vector of times, reflecting the time point when concentration is measured after the corresponding single bolus dose. Must be same length as `dose` and `route`, or length 1.

dose

A numeric vector of doses, reflecting single bolus doses administered at time 0. Must be same length as `time` and `route`, or length 1.

route

A character vector, reflecting the route of administration of each single bolus dose: `'oral'` or `'iv'`. Must be same length as `time` and `dose`, or length 1.

medium

A character vector reflecting the medium in which each resulting concentration is to be calculated: "blood" or "plasma". Default is "plasma". Must be same length as `time` and `dose`, or length 1.

Author

Caroline Ring, John Wambaugh

Details

# Required parameters

`params` must include the following named items:

kelim

Elimination rate, 1/time.

Vdist

Apparent volume of central compartment, volume/unit BW. Or see below for `Fgutabs_Vdist`

For oral administration (if any `route include:

Fgutabs

Oral bioavailability, unitless fraction. Or see below for `Fgutabs_Vdist`

kgutabs

Rate of absorption from gut, 1/time.

For oral administration, in lieu of `Vdist` and `Fgutabs`, you may instead provide `Fgutabs_Vdist`, the ratio of Fgutabs to Vdist (1/volume). This is an alternate parameterization for situations where `Fgutabs` and `Vdist` are not identifiable separately (i.e., when oral TK data are available, but IV data are not). If `Fgutabs` and `Vdist` are provided, they will override any value provided for `Fgutabs_Vdist`.

If both oral and IV administration are specified (i.e., some `route and some `route `Fgutabs` or `Fgutabs_Vdist`. (If `Vdist` and `Fgutabs_Vdist` are provided, but `Fgutabs` is not provided, then `Fgutabs` will be calculated from `Vdist` and `Fgutabs_Vdist`.)

If `any(medium `Rblood2plasma`, the ratio of chemical concentration in whole blood to the chemical concentration in blood plasma.

See Also

Other built-in model functions: auc_1comp(), auc_1comp_cl(), auc_2comp(), auc_flat(), cp_1comp_cl(), cp_2comp(), cp_2comp_dt(), cp_flat(), get_params_1comp(), get_params_1comp_cl(), get_params_1comp_fup(), get_params_2comp(), get_params_flat(), get_starts_1comp(), get_starts_1comp_cl(), get_starts_1comp_fup(), get_starts_2comp(), get_starts_flat(), tkstats_2comp(), transformed_params_2comp()

Other 1-compartment model functions: auc_1comp(), auc_1comp_cl(), cp_1comp_cl(), get_params_1comp(), get_params_1comp_cl(), get_params_1comp_fup(), get_starts_1comp(), get_starts_1comp_cl(), get_starts_1comp_fup()

Other model concentration functions: cp_1comp_cl(), cp_2comp(), cp_flat()