Skip to contents

If all concentrations are missing, NA_real_ is returned. If all concentrations are zero (below the limit of quantification) or missing, zero is returned. If Tlast is NA (due to no non-missing above LOQ measurements), this will return NA_real_.

Usage

pk.calc.clast.obs(conc, time, check = TRUE)

Arguments

conc

Measured concentrations

time

Time of the measurement of the concentrations

check

Run assert_conc_time()?

Value

The last observed concentration above the LOQ, or NA with the reason in its "exclude" attribute when all concentrations are missing

See also

Other NCA parameters for concentrations during the intervals: pk.calc.c0(), pk.calc.cav(), pk.calc.ceoi(), pk.calc.cmax(), pk.calc.count_conc(), pk.calc.ctrough()