A bivariated regression plane for external standard calibration is
calculated to later convert signals into concentration values.
It differs from calibCurve
in the number of explanatory
variables, 2 in this case. This function is useful when some
interference effect is being considered such as the magnification of
the interest species signal due to the presence of another (known) species
in the same sample.
calibPlane(plane, badpoint = NULL, plot = TRUE, lines = 13, theta = -30,
phi = 40, xlab = "Species 1", ylab = "Species 2", zlab = "Signal",
pch = 18, cex = 2)
Data frame of numeric vectors named 'Conc', 'Conc.S' and 'Signal'. The vectors must contain the concentrations of the main species (the one whose concentration in the samples is to be known) and the secondary species (the interferent), and the standard's signals, respectively.
Numeric vector with the points to be ignored in the regresion. This allows the easy elimination of outliers without losing the stored measurement information.
Logical. If TRUE
, the default, the calibration data
is plotted.
Number of lines to use in the mesh of the plane in the plot.
Azimuthal angle at which the plane is visualized.
Altitude angle at which the plane is visualized.
Label for X axis (main species concentration).
Label for Y axis (secondary species concentration).
Label for Z axis (response).
Plotting symbols available in R.
The size of pch symbols.
Model of the calibration plane
A linear method (i.e lm()
) is applied to obtain the
regression equation. The user must verify model assumptions
such as normal distribution of residuals.
# NOT RUN {
data(planelithium)
planeModel <- calibPlane(plane = planelithium)
summary(planeModel$model)
# }
Run the code above in your browser using DataLab