spatstat (version 1.46-1)

summary.quad: Summarizing a Quadrature Scheme

Description

summary method for class "quad".

Usage

"summary"(object, ..., checkdup=FALSE) "print"(x, ..., dp=3)

Arguments

object
A quadrature scheme.
...
Ignored.
checkdup
Logical value indicating whether to test for duplicated points.
dp
Number of significant digits to print.
x
Object of class "summary.quad" returned by summary.quad.

Value

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

Details

This is a method for the generic summary for the class "quad". An object of class "quad" describes a quadrature scheme, used to fit a point process model. See quad.object) for details of this class. summary.quad extracts information about the quadrature scheme, and print.summary.quad prints this information in a comprehensible format.

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

Examples

Run this code
  # make a quadrature scheme
  Q <- quadscheme(rpoispp(42))
  # summarize it
  summary(Q)
  # save the summary
  s <- summary(Q)
  # print it
  print(s)
  s
  # extract total quadrature weight
  s$w$all$sum

Run the code above in your browser using DataCamp Workspace