View source: R/ellipse-functions.R
eigenEllipseHelper | R Documentation |
Helper function for graphing ellipses from eigendecompositions. This function
is used by bvNormalContour
and confidenceEllipse
.
Essentially this is a wrapper for draw.ellipse
that
also calculates appropriate x-axis and y-axis limits to make graphing an
ellipse easier (because the entire ellipse should be visible without any
work on the user's part to specify the limits).
eigenEllipseHelper(mu, lengths, angle, xl, yl, lim.adj, axes, center, ...)
mu |
column matrix giving the coordinates for the cener of the ellipse. |
lengths |
vector giving the major and minor axis lengths. |
angle |
angle of rotation (in radians). |
xl |
x-axis limits. If |
yl |
y-axis limits. If |
lim.adj |
a value giving an adjustment to the x-axis and y-axis limits
computed if either |
axes |
logical. If |
center |
logical. If |
... |
other arguments to be passed to the graphing functions. |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.