eigenEllipseHelper: Helper Function for other Ellipse-from-Eigendecomposition...

Description Usage Arguments Value

View source: R/ellipse-functions.R

Description

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).

Usage

1
eigenEllipseHelper(mu, lengths, angle, xl, yl, lim.adj, axes, center, ...)

Arguments

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 xl = NULL then these are computed automatically.

yl

y-axis limits. If yl = NULL then these are computed automatically.

lim.adj

a value giving an adjustment to the x-axis and y-axis limits computed if either xl = NULL or yl = NULL.

axes

logical. If axes = TRUE, then the major and minor axes are graphed.

center

logical. If axes = TRUE then the center of the ellipse is indicated with a point and dashed lines are drawn to the x-axis and y-axis.

...

other arguments to be passed to the graphing functions.

Value

None


douglaswhitaker/MVQuickGraphs documentation built on Aug. 26, 2020, 11:51 p.m.