Learn R Programming

invivoPKfit (version 2.0.1)

cp_flat: Flat model

Description

Evaluates a "flat" model for concentration vs. time

Usage

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

Value

A vector of plasma concentration values (mass chemical/volume) corresponding to

time.

Arguments

params

A named list of parameter values. See Details for requirements.

time

A numeric vector of times, reflecting the time points when concentration is measured after the corresponding single bolus dose. Must be same length as other arguments, or length 1.

dose

A numeric vector of doses, reflecting single bolus doses administered at time 0. Must be same length as other arguments, 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 other arguments, or length 1.

Author

Caroline Ring, John Wambaugh, Chris Cook

Details

This function is used for model comparison: does a 1- or 2-compartment TK model fit the data any better than this naive "flat" model?

# Required parameters

`params` must include the following named items:

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`

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.

# Flat model equations

## IV administration

$$\textrm{Conc} = \frac{\textrm{Dose}}{V_{\textrm{dist}}}$$

## Oral administration

$$\textrm{Conc} = \frac{F_{\textrm{gutabs}} \textrm{Dose}}{V_{\textrm{dist}}}$$

See Also

Other built-in model functions: auc_1comp(), auc_1comp_cl(), auc_2comp(), auc_flat(), cp_1comp(), cp_1comp_cl(), cp_2comp(), cp_2comp_dt(), 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 flat model functions: auc_flat(), get_params_flat(), get_starts_flat()

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