<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: S Control Chart.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for cchart.S"><tr><td>cchart.S</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>S Control Chart.</h2>

<h3>Description</h3>

<p>This function builds a S control chart.
</p>


<h3>Usage</h3>

<pre>
cchart.S(x, type = "n", m = NULL)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
<p>The data to be plotted.</p>
</td></tr>
<tr valign="top"><td><code>type</code></td>
<td>
<p>A character string specifying the type of S control chart to be
plotted where &quot;n&quot; plots a S chart with normalized probability limits and &quot;e&quot;
plots a S chart with exact limits.</p>
</td></tr>
<tr valign="top"><td><code>m</code></td>
<td>
<p>The sample sizes. Only necessary in the control chart with exact
(probability) limits.</p>
</td></tr>
</table>


<h3>Details</h3>

<p>The exact limits are the alpha/2 and 1-alpha/2 quantiles of the S
distribution which is proportional to the square root of a chi-square
distribution.
</p>


<h3>Value</h3>

<p>Return a S control chart.
</p>


<h3>Author(s)</h3>

<p>Daniela R. Recchia, Emanuel P. Barbosa
</p>


<h3>Examples</h3>

<pre>

data(softdrink)
#S chart with normalized probability limits
cchart.S(softdrink, type = "n")
#S chart with exact probability limits
cchart.S(softdrink, type = "e", 10)

</pre>


</body></html>
