aboutsummaryrefslogblamecommitdiff
path: root/chm/calplot.html
blob: a2b8158f69198e46806cb0f99687e42f7265fd07 (plain) (tree)





























































































                                                                                                                                                                                                 
<html><head><title>Plot calibration graphs</title>
<link rel="stylesheet" type="text/css" href="Rchm.css">
</head>
<body>

<table width="100%"><tr><td>calplot(chemCal)</td><td align="right">R Documentation</td></tr></table><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="keyword" value="R:   calplot">
<param name="keyword" value=" Plot calibration graphs">
</object>


<h2>Plot calibration graphs</h2>


<h3>Description</h3>

<p>
Produce graphics of calibration data, the fitted model as well
as prediction and confidence intervals.
</p>


<h3>Usage</h3>

<pre>
  calplot(x,y,intercept=FALSE,measurand="substance x",xunit="mg/L",yunit="Area",level=0.95)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
A vector of x values.
</td></tr>
<tr valign="top"><td><code>y</code></td>
<td>
A vector of y values.
</td></tr>
<tr valign="top"><td><code>intercept</code></td>
<td>
A boolean describing if the calibration curve is to be forced
through zero.
</td></tr>
<tr valign="top"><td><code>measurand</code></td>
<td>
The name of what is being measured as a character vector.
</td></tr>
<tr valign="top"><td><code>xunit</code></td>
<td>
The unit of the given values on the x axis as a character vector.
</td></tr>
<tr valign="top"><td><code>yunit</code></td>
<td>
The unit of the y axis as a character vector. Defaults to "Area".
</td></tr>
<tr valign="top"><td><code>level</code></td>
<td>
The confidence level of the confidence and prediction bands. Defaults to
0.95.
</td></tr>
</table>

<h3>Value</h3>

<p>
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.</p>

<h3>Author(s)</h3>

<p>
Johannes Ranke 
<a href="mailto:jranke@uni-bremen.de">jranke@uni-bremen.de</a> 
<a href="http://www.uft.uni-bremen.de/chemie/ranke">http://www.uft.uni-bremen.de/chemie/ranke</a>
</p>


<h3>Examples</h3>

<pre>
data(pahCalibration)
attach(pahCalibration)
## Not run: calplot(conc,phenanthrene,"Phenanthrene","mg/L")
detach(pahCalibration)
</pre>



<hr><div align="center"><a href="00Index.html">[Package Contents]</a></div>

</body></html>

Contact - Imprint