s2index: Make s2index for points on the sphere (beta version)

Description Usage Arguments Value

View source: R/s2index.R

Description

Create a s2index for a collection of points on the sphere. This is a beta version of a spatial index that stores the s2cellid at various levels for a given collection of points. Expect changes to the API or even complete removal of the function. Only for testing at the moment!

Usage

1
s2index(x, min_level = 0L, max_level = 30L)

Arguments

x

Points on the sphere in a standard format.

min_level

Integer between 0 and 30 (incl). Must be smaller than or equal to max_level.

max_level

Integer between 0 and 30 (incl). Must be larger than or equal to min_level.

Value

An environment with additional class s2index.


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