summary.ppm

0th

Percentile

Summarizing a Fitted Point Process Model

summary method for class "ppm".

Keywords
models, methods, spatial
Usage
## S3 method for class 'ppm':
summary(object, \dots, quick=FALSE)
  ## S3 method for class 'ppm':
print.summary(x, \dots)
Arguments
object
A fitted point process model.
...
Ignored.
quick
Logical flag controlling the scope of the summary.
x
Object of class "summary.ppm" as returned by summary.ppm.
Details

This is a method for the generic summary for the class "ppm". An object of class "ppm" describes a fitted point process model. See ppm.object) for details of this class. summary.ppm extracts information about the type of model that has been fitted, the data to which the model was fitted, and the values of the fitted coefficients. (If quick=TRUE then only the information about the type of model is extracted.)

print.summary.ppm prints this information in a comprehensible format.

In normal usage, print.summary.ppm is invoked implicitly when the user calls summary.ppm without assigning its value to anything. See the examples.

Value

  • summary.ppm returns an object of class "summary.ppm", while print.summary.ppm returns NULL.

Aliases
  • summary.ppm
  • print.summary.ppm
Examples
# invent some data
  X <- rpoispp(42)
  # fit a model to it
  fit <- ppm(X, ~x, Strauss(r=0.1))
  # summarize the fitted model
  summary(fit)
  # `quick' option
  summary(fit, quick=TRUE)

  # save the full summary
  s <- summary(fit)
  # print it
  print(s)
  s
  # extract stuff
  names(s)
  s$args$correction
  s$name
  s$trend$value

  # multitype pattern
  data(demopat)
  fit <- ppm(demopat, ~marks, Poisson())
  summary(fit)
Documentation reproduced from package spatstat, version 1.10-3, License: GPL version 2 or newer

Community examples

Looks like there are no examples yet.