<!doctype s-function-doc system "s-function-doc.dtd" [
<!entity % S-OLD "INCLUDE">
]
>
<s-function-doc>
<s-topics>
<s-topic> xyellipse </s-topic>
</s-topics>
<s-title>
xyellipse
</s-title>
<s-description>
Scatter Plot with Overlaid Ellipse(s)
</s-description>
<s-usage>
<s-old-style-usage>
xyellipse(x, variables=c(1, 2), plot.data=T, confidence=0.95)
</s-old-style-usage>
</s-usage>
<s-args-required>
<s-arg name=" x ">
a <s-expression>cov</s-expression>, <s-expression>covRob</s-expression>, or
<s-expression>fit.models</s-expression> (containing only
<s-expression>cov</s-expression> and <s-expression>covRob</s-expression>
elements) object.
</s-arg>
</s-args-required>
<s-args-optional>
<s-arg name=" variables ">
when the dimension of the covarianvce matrix is greater than 2 this argument
is used to specify which pair of variables to plot.
It can be either a character vector containing two names
or a numeric vector containing two column indicies.
</s-arg>
<s-arg name=" plot.data ">
a logical flag, if TRUE a scatter plot of the data is added to the plot.
</s-arg>
<s-arg name=" confidence ">
the fraction of the density inside the ellipse.
</s-arg>
</s-args-optional>
<s-side-effects>
A plot is produced on a graphics device.
</s-side-effects>
<s-examples>
<s-example>
stack.fm <- fit.models(list(Robust="covRob", Classical="cov"),
     data=stack.dat)
xyellipse(stack.fm, variables = c("Air.Flow", "Acid.Conc."))
</s-example>
</s-examples>
<s-keywords>
<s-keyword>librobust</s-keyword>
<s-keyword>hplot</s-keyword>
</s-keywords>
<s-docclass>
function
</s-docclass>
</s-function-doc>
