sphere | R Documentation |
Initialisation of the 2-sphere, S2.
sphere(radius = 6371)
radius |
radius of sphere |
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
.
S <- sphere()
print(sp::dimensions(S))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.