Last chance! 50% off unlimited learning
Sale ends in
Remove the mark information from a spatial dataset.
unmark(X)
# S3 method for ppp
unmark(X)
# S3 method for splitppp
unmark(X)
# S3 method for psp
unmark(X)
# S3 method for ppx
unmark(X)
An object of the same class as X
with any mark information deleted.
A point pattern (object of class "ppp"
),
a split point pattern (object of class "splitppp"
),
a line segment pattern (object of class "psp"
)
or a multidimensional space-time point pattern
(object of class "ppx"
).
Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner rolfturner@posteo.net
A `mark' is a value attached to each point in a spatial point pattern, or attached to each line segment in a line segment pattern, etc.
The function unmark
is a simple way to
remove the marks from such a dataset.
ppp.object
,
psp.object
hicks <- lansing[lansing$marks == "hickory", ]
# plot(hicks) # still a marked point pattern, but only 1 value of marks
# plot(unmark(hicks)) # unmarked
Run the code above in your browser using DataLab