R: Reference ellipsoids

refEllipsoids {geosphere} | R 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

[Package geosphere version 1.5-5 Index]