pk.calc.tmax: Determine time of maximum observed PK concentration

View source: R/pk.calc.simple.R

pk.calc.tmaxR Documentation

Determine time of maximum observed PK concentration

Description

Input restrictions are:

  1. the conc and time must be the same length,

  2. the time may have no NAs,

NA will be returned if:

  1. the length of conc and time is 0

  2. all conc is 0 or NA

Usage

pk.calc.tmax(conc, time, options = list(), first.tmax = NULL, check = TRUE)

Arguments

conc

Concentration measured

time

Time of concentration measurement

options

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

first.tmax

If there is more than time that matches the maximum concentration, should the first be considered as Tmax? If not, then the last is considered Tmax.

check

Run check.conc.time?

Value

the time of the maximum concentration


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