standard.ellipse: Standard Ellipse

Description Usage Arguments Value Author(s)

Description

Fits a standard ellipse to bivariate data analytically using maximum likelihood estimators.

Usage

1
standard.ellipse(x,y,confs=NULL,steps=5)

Arguments

x

Vector of x data.

y

Vector of y data.

confs

Optional list of confidence intervals as a vector. If specified will calculate the confidence intervals of the means and store their coordinates in a list (useful for plotting). Defaults to Null.

steps

A visual rendering option that sets the number of step-size and hence resolution of the points used to draw the lines defining the ellipses. The larger the value, the more angular the ellipses will appear.

Value

CEA

The area of the 95 percent confidence ellipse.

SEA

The area of the standard ellipse.

SEAc

The area of the small sample size corrected standard ellipse.

theta

The angle of the semi-major axis of the ellipse with the x-axis.

confs

list of the confidence intervals of the mean, if speficied.

xCEA

x coordinates of the confidence ellipses.

yCEA

y coordinates of the confidence ellipses.

xSEA

x coordinates of the standard ellipse.

ySEA

y coordinates of the standard ellipse.

xSEAc

x coordinates of the small sample size corrected standard ellipse.

ySEAc

y coordinates of the small sample size corrected standard ellipse.

eccentricity

Eccentricity of the ellipse

a

The length of the semi-major axis a

b

The length of the semi-minor axis a

r

The correlation coefficient of the data

ac

The length of the semi-major axis a based on the small sample size correction.

bc

The length of the semi-minor axis b based on the small sample size correction.

Author(s)

Andrew Jackson


AndrewLJackson/siar documentation built on May 5, 2019, 5:59 a.m.