pk.calc.time_above: Determine time at or above a set value

View source: R/time.above.R

pk.calc.time_aboveR Documentation

Determine time at or above a set value

Description

Interpolation is performed aligning with PKNCA.options("auc.method"). Extrapolation outside of the measured times is not yet implemented. The method may be changed by giving a named method argument, as well.

Usage

pk.calc.time_above(conc, time, conc_above, ..., options = list(), check = TRUE)

Arguments

conc

Concentration measured

time

Time of concentration measurement (must be monotonically increasing and the same length as the concentration data)

conc_above

The concentration to be above

...

Extra arguments. Currently, the only extra argument that is used is method as described in the details section.

options

List of changes to the default PKNCA.options for calculations.

check

Run check.conc.time, clean.conc.blq, and clean.conc.na?

Details

For 'lin up/log down', if clast is above conc_above and there are concentrations BLQ after that, linear down is used to extrapolate to the BLQ concentration (equivalent to AUCall).

Value

the time above the given concentration


PKNCA documentation built on April 30, 2023, 1:08 a.m.