Learn R Programming

geosphere (version 1.5-20)

refEllipsoids: Reference ellipsoids

Description

This function returns a data.frame with parameters a (semi-major axis) and 1/f (inverse flattening) for a set of reference ellipsoids.

Usage

refEllipsoids()

Arguments

Value

data.frame

Author

Robert J. Hijmans

See Also

area, perimeter

Examples

Run this code
e <- refEllipsoids()
e[e$code=='WE', ]

#to compute semi-minor axis b:
e$b <- e$a - e$a / e$invf

Run the code above in your browser using DataLab