calplot(chemCal) | R Documentation |
Produce graphics of calibration data, the fitted model as well as prediction and confidence intervals.
calplot(x,y,intercept=FALSE,measurand="substance x",xunit="mg/L",yunit="Area",level=0.95)
x |
A vector of x values. |
y |
A vector of y values. |
intercept |
A boolean describing if the calibration curve is to be forced through zero. |
measurand |
The name of what is being measured as a character vector. |
xunit |
The unit of the given values on the x axis as a character vector. |
yunit |
The unit of the y axis as a character vector. Defaults to "Area". |
level |
The confidence level of the confidence and prediction bands. Defaults to 0.95. |
A linear model object for y ~ x. You will also get a plot of the calibration data, of your fitted model as well as lines showing the confidence limits and the prediction limits.
Johannes Ranke jranke@uni-bremen.de http://www.uft.uni-bremen.de/chemie/ranke
data(pahCalibration) attach(pahCalibration) ## Not run: calplot(conc,phenanthrene,"Phenanthrene","mg/L") detach(pahCalibration)