Learn R Programming

spatstat (version 1.31-3)

summary.ppp: Summary of a Point Pattern Dataset

Description

Prints a useful summary of a point pattern dataset.

Usage

## S3 method for class 'ppp':
summary(object, \dots, 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 dublicate 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
summary(cells)  # plain vanilla point pattern

  # multitype point pattern
  <testonly>lansing <- lansing[seq(1, lansing$n, length=40)]</testonly>
  summary(lansing) # tabulates frequencies of each mark
  
  # numeric marks
  <testonly>longleaf <- longleaf[seq(1, longleaf$n, length=40)]</testonly>
  summary(longleaf) # prints summary.default(x$marks)

  # weird polygonal window
  summary(demopat)  # describes it

Run the code above in your browser using DataLab