Perform the half-life fit given the data. The function simply fits the data without any validation. No selection of points or any other components are done.
fit_half_life(data, tlast, conc_units)
A data.frame with one row and columns named "r.squared", "adj.r.squared", "PROB", "lambda.z", "clast.pred", "lambda.z.n.points", "half.life", "span.ratio"
The data to fit. Must have two columns named "log_conc" and "time"
The time of last observed concentration above the limit of quantification.
NULL or the units to set for concentration measures
pk.calc.half.life()