Learn R Programming

spatstat.geom (version 3.3-2)

summary.quad: Summarizing a Quadrature Scheme

Description

summary method for class "quad".

Usage

# S3 method for quad
summary(object, ..., checkdup=FALSE)
  # S3 method for summary.quad
print(x, ..., dp=3)

Value

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

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.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

and Rolf Turner rolfturner@posteo.net

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(runifrect(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 DataLab