<!doctype s-function-doc system "s-function-doc.dtd" [
<!entity % S-OLD "INCLUDE">
]
>
<s-function-doc>

<s-topics>
<s-topic> plot.princompRob </s-topic>
</s-topics>

<s-title>
Plot Method for Robust Principal Components Objects
</s-title>

<s-description>
Creates a set plots useful for assessing a fitted principal components
model of class princompRob. The plot options are (2) Scatter Plot of
Components, (3) Loadings, and (4) Variances.
</s-description>

<s-usage>
<s-old-style-usage>
plot.princompRob(x, which.plots = "ask", spcomps = "Auto", ...)
</s-old-style-usage>
</s-usage>

<s-args-required>
<s-arg name=" x ">
a princompRob object.
</s-arg>
</s-args-required>

<s-args-optional>
<s-arg name=" which.plots ">
either "ask", "all", or an integer vector specifying which plots to
draw.  If <s-expression>which.plots</s-expression> is an integer vector,
use the plot numbers given in the description above (or in the "ask" menu).
</s-arg>

<s-arg name=" spcomps ">
an integer vector specifying which componets to include in the Scatter
Plot.  The default ("Auto") is to display the components with the 5 largest
standard deviations (or all the components if there are less than 5).
</s-arg>
</s-args-optional>

<s-value>
x is returned invisibly.
</s-value>

<s-side-effects>
The selected plots are drawn on a graphics device.
</s-side-effects>

<s-details>
The princompRobRob object is coerced to a pcompfm object containing a
single model.  The plotting is then accomplished by calling plot.pcompfm.
</s-details>

<s-see>
<s-function name="plot.sgm">plot</s-function>,
<s-function name="plot.pcompfm.sgm">plot.pcompfm</s-function>.
</s-see>

<s-examples>
<s-example>
plot(princompRob(stack.dat))
</s-example>
</s-examples>

<s-keywords>
<s-keyword>librobust</s-keyword>
</s-keywords>

<s-docclass>
function
</s-docclass>

</s-function-doc>
