eigenEllipseHelper {MVQuickGraphs}R Documentation

Helper Function for other Ellipse-from-Eigendecomposition Functions

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

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


[Package MVQuickGraphs version 0.1.2 Index]