as.data.frame.s2pp | R Documentation |
Export coordinates of a spherical point pattern into a data.frame
## S3 method for class 's2pp' as.data.frame(x, ..., format = "long,lat")
x |
Spherical point patten of class |
... |
Ignored. |
format |
String. Type of coordinates used for return coordinates.
Defaults to |
Return format would usually be a latitude,longitude format (in any
order) by specifying the desired names of the two output columns. Valid
choices for latitude are lat
and latitude
. Valid choices for longitude
are lon
, long
, lng
and longitude
. Alternatively, any order of x,y,z
coordinates are obtained by supplying a commaseparated format like "y,z,x"
.
data.frame
with coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.