s2radius: Radius of sphere

Description Usage Arguments Value

View source: R/s2region.R

Description

Radius of sphere

Usage

1
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 July 5, 2017, 11:47 p.m.