Learn R Programming

spatstat (version 1.55-0)

summary.ppp: Summary of a Point Pattern Dataset

Description

Prints a useful summary of a point pattern dataset.

Usage

# S3 method for ppp
summary(object, …, checkdup=TRUE)

Arguments

object

Point pattern (object of class "ppp").

Ignored.

checkdup

Logical value indicating whether to check for the presence of duplicate points.

Details

A useful summary of the point pattern object is printed.

This is a method for the generic function summary.

If checkdup=TRUE, the pattern will be checked for the presence of duplicate points, using duplicated.ppp. This can be time-consuming if the pattern contains many points, so the checking can be disabled by setting checkdup=FALSE.

If the point pattern was generated by simulation using rmh, the parameters of the algorithm are printed.

See Also

summary, summary.owin, print.ppp

Examples

Run this code
# NOT RUN {
  summary(cells)  # plain vanilla point pattern

  # multitype point pattern
  woods <- lansing
  
# }
# NOT RUN {
  summary(woods) # tabulates frequencies of each mark
  
  # numeric marks
  trees <- longleaf
  
# }
# NOT RUN {
  summary(trees) # prints summary.default(marks(trees))

  # weird polygonal window
  summary(demopat)  # describes it
# }

Run the code above in your browser using DataLab