Input restrictions are:
the
concandtimemust be the same length,the
timemay have no NAs,
NA will be returned if:
the length of
concandtimeis 0all
concis 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()?