Learn R Programming

invivoPKfit (version 2.0.1)

auc_2comp: Analytical AUC for the 2-compartment model

Description

Calculate area under the plasma concentration vs. time curve for the 1-compartment model, using an analytical equation (the integral of the 1-compartment model equation with respect to time).

Usage

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

Value

A vector of plasma AUC values, evaluated at each time point in time.

Arguments

params

A named list of parameter values including the following:

  • k12: Rate at which compound moves from central to peripheral compartment, 1/h.

  • k21: Rate at which compound moves from peripheral to central compartment, 1/h.

  • kelim: Elimination rate, 1/h.

  • V1: Apparent volume of central compartment, L/kg BW. Or see below for "Fgutabs_V1"

For oral administration (route FALSE), params must also include:

  • Fgutabs: Oral bioavailability, unitless fraction. Or see below for "Fgutabs_V1"

  • kgutabs: Rate of absorption from gut, 1/h.

For oral administration, in lieu of "V1" and "Fgutabs", you may instead provide "Fgutabs_V1", the ratio of Fgutabs to V1 (1/L). This is an alternate parameterization for situations where "Fgutabs" and "V1" are not identifiable separately (i.e. when oral data are available, but IV data are not). If "Fgutabs" and "V1" are provided, then "Fgutabs_V1" will not be used.

time

A numeric vector of time values, in hours

dose

A numeric vector of doses in mg/kg

route

A logical vector: TRUE for single IV bolus dose, FALSE for single oral dose

medium

A character string that determines the measured media. Default: "plasma".

Author

Caroline Ring, John Wambaugh

See Also

Other built-in model functions: auc_1comp(), auc_1comp_cl(), auc_flat(), 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 2-compartment model functions: cp_2comp(), cp_2comp_dt(), get_params_2comp(), get_starts_2comp(), tkstats_2comp(), transformed_params_2comp()

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