unmark

0th

Percentile

Remove Marks

Remove the mark information from a spatial dataset.

Keywords
manip, spatial
Usage
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)
Arguments
X

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

Details

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.

Value

An object of the same class as X with any mark information deleted.

See Also

ppp.object, psp.object

Aliases
  • unmark
  • unmark.ppp
  • unmark.splitppp
  • unmark.psp
  • unmark.ppx
Examples
# NOT RUN {
  data(lansing)
  hicks <- lansing[lansing$marks == "hickory", ]
  
# }
# NOT RUN {
  plot(hicks)  # still a marked point pattern, but only 1 value of marks
  plot(unmark(hicks)) # unmarked
  
# }
Documentation reproduced from package spatstat, version 1.56-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.