
Fit an internal-standard calibration curve and inverse-predict an unknown
Source:R/tox.R
morie_tox_calibration.RdWeighted linear least squares of instrument response on known calibrator
concentration, the standard basis for GC-MS / LC-MS/MS quantitation. LOD and
LOQ follow the residual-standard-error convention (LOD = 3.3 s/b,
LOQ = 10 s/b; ICH Q2). With response_unknown, inverse-predicts the
unknown concentration and flags it against LOD/LOQ.
Arguments
- conc
Numeric vector of known calibrator concentrations (> 0).
- response
Numeric vector of instrument responses (same length).
- weights
Optional weights;
"1/x^2"(default, the usual variance model for wide tox calibration ranges),"1/x", or"none", or a numeric vector.- response_unknown
Optional scalar response for a case sample to inverse-predict.