aboutsummaryrefslogtreecommitdiff
path: root/chm/calplot.html
blob: a2b8158f69198e46806cb0f99687e42f7265fd07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<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