Learn R Programming

ecd (version 0.6.4)

ellipticity.ecd: Ellipticity of ecd object

Description

Ellipticity of ecd object, defined as half of the distance between the two elliptic points.

Usage

"ellipticity"(object, tol = 1e-04)
ellipticity(object, tol = 1e-05)
"ellipticity"(object, tol = 1e-04)

Arguments

object
An object of ecd class
tol
Numeric, the tolerance of precision during subdivision. Default: 1e-4 of stdev.

Value

a list with 3 major numbers: xe1= negative x_e, xe2= positive x_e, avg= ellipticity

Examples

Run this code
d <- ecd(0,1)
ellipticity(d)

Run the code above in your browser using DataLab