calibCurve {transmem} | R Documentation |
Calculates regression curve for external standard calibration.
Description
Polinomial regression curves for external standard calibration are calculated to later convert signals into concentration values.
Usage
calibCurve(curve, order = 1, badpoint = NULL, intercept = TRUE, plot = TRUE)
Arguments
curve |
Data frame of numeric vectors named 'Conc' and 'Signal' containing the concentrations and the signals, respectively. |
order |
Regression curve order. 1 for linear (default) and 2 for quadratic. |
badpoint |
Numeric vector with the points to be ignored in the regresion. This allows the easy elimination of outliers without losing the stored measurement information. |
intercept |
Logical. If |
plot |
Logical. If |
Details
A linear method (i.e lm()
) is applied to obtain the
regression curve.
Value
Model of the calibration curve.
Author(s)
Cristhian Paredes, craparedesca@unal.edu.co
Eduardo Rodriguez de San Miguel, erdsmg@unam.mx
See Also
calibPlane
when using more than one explanatory
variable.
Examples
data(curvelithium)
model1 <- calibCurve(curve = curvelithium, order = 1)
model2 <- calibCurve(curve = curvelithium, order = 2)
summary(model1)
summary(model2)