sphere: sphere

View source: R/geometryfns.R

sphereR Documentation

sphere

Description

Initialisation of the 2-sphere, S2.

Usage

sphere(radius = 6371)

Arguments

radius

radius of sphere

Details

The 2D surface of a sphere is initialised using a radius parameter. The default value of the radius R is R=6371 km, Earth's radius, while the measure used to compute distances on the sphere is the great-circle distance on a sphere of radius R.

Examples

S <- sphere()
print(sp::dimensions(S))

FRK documentation built on Sept. 11, 2024, 7:14 p.m.