Extracts the coordinates of the points in a point pattern, and their marks if any, and returns them in a data frame.
Point pattern (object of class
Optional character vector of row names.
This is a method for the generic function
for the class
"ppp" of point patterns.
It extracts the coordinates of the points in the point pattern, and
returns them as columns named
y in a data frame.
If the points were marked, the marks are returned as a column
marks with the same type as in the point pattern dataset.
A data frame.
1 2 3