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

Measured concentrations

time

Time of the measurement of the concentrations

options

List of changes to the default PKNCA options (see PKNCA.options())

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 assert_conc_time()?

Value

The time of the maximum concentration


PKNCA documentation built on June 22, 2024, 9:25 a.m.