s2radius: Radius of sphere

View source: R/s2region.R

s2radiusR Documentation

Radius of sphere

Description

Radius of sphere

Usage

s2radius(x, format = c("numeric", "string", "list"))

Arguments

x

Object of class "s2region".

format

String to return the result as a numeric ("numeric"), a string with unitname ("string") or a list with entries radius and units ("list")

Value

numeric (default), string or list with the radius of the underlying sphere of the "s2region" and for string/list also the unitname.


spatstat/spatstat.sphere documentation built on Jan. 27, 2023, 2:59 a.m.