unmark | R Documentation |
Remove the mark information from a spatial dataset.
unmark(X)
## S3 method for class 'ppp'
unmark(X)
## S3 method for class 'splitppp'
unmark(X)
## S3 method for class 'psp'
unmark(X)
## S3 method for class 'ppx'
unmark(X)
X |
A point pattern (object of class |
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.
An object of the same class as X
with any mark information deleted.
and \rolf
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.