s2polygon: Create a s2polygon

Description Usage Arguments

View source: R/s2region.R

Description

Create a s2polygon (object of class "s2polygon").

Usage

1

Arguments

x

List of loops (also called rings) to join as a polygon.

...

Arguments passed on to s2

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.

options

List of options to control how the polygon is assembled. See s2::S2Polygon for available options.


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