Description Usage Arguments Value

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!

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

`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` |
Integer between 0 and 30 (incl). Must be larger than or
equal to |

An environment with additional class `s2index`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.