calculateEllipse: Calculate ellipse 'confidence region'

Description Usage Arguments Details Value

View source: R/ellipseMeanSd.R

Description

Based on the mean and standard deviation of the elevation and rotation estimates this function will determine the region over which a given proportion of points would be expected to fall.

Usage

1
calculateEllipse(means, sd, alpha = 0.05)

Arguments

means

A numeric vector of length 2 giving the mean for the x direction and the mean for the y direction.

sd

A numeric vector of length 2 giving the standard deviation for the x direction and the y direction.

alpha

A value between 0 and 1 that gives the confidence level.

Details

Based on the mean and standard deviation of the x and y direction the limits of an ellipse are determined.

Value

A list of length 2 containing:

x

The x axis coordinates of the ellipse

y

The y axis coordinates of the ellipse


GENEAsphere documentation built on Dec. 5, 2019, 5:11 p.m.