Learn R Programming

invivoPKfit (version 2.0.1)

auc_flat: AUC for flat model

Description

Evaluates the area under the concentration-time curve for a "flat" model

Usage

auc_flat(time, params, dose, route, medium)

Value

A vector of plasma concentration values (mg/L) corresponding to

time.

Arguments

time

A numeric vector of times in hours.

params

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

dose

A numeric vector of doses in mg/kg

route

A logical vector: TRUE for single IV bolus dose; FALSE for single oral dose. Not used, but must be present for compatibility with other model functions.

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

# Required parameters

`params` must include the following named items:

Vdist

Apparent volume of central compartment, L/kg 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/L). 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(), cp_1comp(), 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 flat model functions: cp_flat(), get_params_flat(), get_starts_flat()

Other model AUC functions: auc_1comp(), auc_1comp_cl(), auc_2comp()