s2pp | R Documentation |
Make an object of class "s2pp"
representing a point pattern
over a region on the sphere (of class "s2region"
).
s2pp(coords, region = NULL, marks = NULL, ..., check = TRUE)
coords |
|
region |
Region on the sphere where the points occur. Object of class
|
marks |
Marks attached to the points. |
... |
Arguments passed on to
|
check |
Logical. Check that points actually are inside the provided
|
Object of class "s2pp"
.
long <- c(90, 180, -90) lat <- c(45, 0, -45) coords <- data.frame(long, lat) X <- s2pp(coords)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.