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

View source: R/s2index.R

s2indexR Documentation

Make s2index for points on the sphere (beta version)

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

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