as.data.frame.s2pp: Export coordinates of a spherical point pattern into a...

Description Usage Arguments Details Value

View source: R/s2pp.R

Description

Export coordinates of a spherical point pattern into a data.frame

Usage

1
2
## S3 method for class 's2pp'
as.data.frame(x, ..., format = "long,lat")

Arguments

x

Spherical point patten of class "s2pp".

...

Ignored.

format

String. Type of coordinates used for return coordinates. Defaults to "long,lat".

Details

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".

Value

data.frame with coordinates.


spatstat/spatstat.sphere documentation built on July 5, 2017, 11:47 p.m.