Estimate Additive and proportional errors from calibration data
fit_var(
data,
level = 0.95,
method = "nlminb",
bootstrap = FALSE,
n_boot = 1000
)Data frame with columns: conc (concentration), stdconc (standardized concentration, e.g. conc/LLOQ)
Confidence level for the CI (default is 0.95)
Optimization method (default is "nlminb")
Logical indicating whether to perform bootstrap (default is TRUE)
Number of bootstrap samples (default is 1000)
Omar I. Elashkar