s2: Generate a sphere

Description Usage Arguments Value

View source: R/s2region.R

Description

Generate a sphere

Usage

1
s2(radius = 1, unitname = NULL, ...)

Arguments

radius

Numeric. Defaults to 1. For convenience this can also be an object of class "s2region" from where the radius and unitname then will be extracted.

unitname

Optional. Name of unit of length. Either a single character string, or a vector of two character strings giving the singular and plural forms, respectively.

...

Ignored.

Value

Object of class "s2" and super class "s2region".


spatstat/spatstat.sphere documentation built on July 5, 2017, 11:47 p.m.