Input restrictions are:
the
conc
andtime
must be the same length,the
time
may have no NAs,
NA
will be returned if:
the length of
conc
andtime
is 0all
conc
is 0 orNA
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()
?