Calculate metrics corresponding to the Standard Ellipse based on a covariance matrix

Share:

Description

This function takes a covariance 2x2 matrix Sigma and returns various metrics relating to the corresponding Standard Ellipse.

Usage

1

Arguments

sigma

a 2x2 covariance ellipse.

Value

A list comprising the following metrics for summarising the Standard Ellipse #'

  • SEAthe Standard Ellise Area (not sample size corrected)

  • eccentricitya measure of the elongation of the ellipse.

  • athe length of the semi-major axis

  • bthe length of the semi-minor axis

Note

This function is currently based on the eigenvalue and eigenvector approach which is more flexible for higher dimensional problems method for calculating the standard ellipse, and replaces the parametric method used previously in siar and siber.

Examples

1
2
3
# A perfect circle
sigma <- matrix( c(1, 0, 0, 1), 2, 2)
sigmaSEA(sigma)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.