Learn R Programming

geosphere (version 1.5-10)

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

See Also

area, perimeter

Examples

Run this code
# NOT RUN {
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