R/half.life.R
fit_half_life.Rd
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)
data | The data to fit. Must have two columns named "log_conc" and "time" |
---|---|
tlast | The time of last observed concentration above the limit of quantification. |
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"