refEllipsoids: Reference ellipsoids

View source: R/refEllipsoids.R

refEllipsoidsR Documentation

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()

Value

data.frame

Note

To compute parameter b you can do

Author(s)

Robert J. Hijmans

See Also

area, perimeter

Examples

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

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

geosphere documentation built on Nov. 16, 2022, 1:06 a.m.