Last chance! 50% off unlimited learning
Sale ends in
unmark(X)
## S3 method for class 'ppp':
unmark(X)
## S3 method for class 'splitppp':
unmark(X)
## S3 method for class 'psp':
unmark(X)
"ppp"
),
a split point pattern (object of class "splitppp"
),
or a line segment pattern (object of class "psp"
).X
with any mark information deleted.unmark
is a simple way to
remove the marks from such a dataset.ppp.object
,
psp.object
data(lansing)
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