Learn R Programming

ecd (version 0.9.2.4)

ellipticity.ecd: Ellipticity of ecd object

Description

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

Usage

# S3 method for ecd
ellipticity(object, tol = 1e-04)

ellipticity(object, tol = 1e-05)

# S4 method for ecd 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
# NOT RUN {
d <- ecd(0,1)
ellipticity(d)
# }

Run the code above in your browser using DataLab