s2: Generate a sphere

View source: R/s2region.R

s2R Documentation

Generate a sphere

Description

Generate a sphere

Usage

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 Jan. 27, 2023, 2:59 a.m.