| as.s2pp | R Documentation |
Tries to coerce any reasonable kind of data to a spherical point pattern (an
object of class "s2pp") for use by the spatstat.sphere package).
as.s2pp(X, ...) ## S3 method for class 's2pp' as.s2pp(X, ...) ## S3 method for class 'data.frame' as.s2pp(X, ..., region = NULL) ## S3 method for class 'matrix' as.s2pp(X, ..., region = NULL) ## Default S3 method: as.s2pp(X, ..., region = NULL)
X |
Data which will be converted into a point pattern |
... |
Arguments passed on to
|
region |
Region on the sphere where the points occur. Object of class
|
Converts the dataset X to a point pattern (an object of class
"s2pp").
The function as.s2pp is generic, with methods for the classes
"s2pp", "matrix", "data.frame" and a default method.
Point pattern datasets can also be created by the function s2pp.
An object of class "s2pp" (see s2pp) describing
the spherical point pattern and its region.
as.s2pp(s2pp): Method for s2pp objects.
as.s2pp(data.frame): Method for data frames.
as.s2pp(matrix): Method for matrices.
as.s2pp(default): Default method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.