Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Extract.quad

Subset of Quadrature Scheme


Description

Extract a subset of a quadrature scheme.

Usage

## S3 method for class 'quad'
x[...]

Arguments

x

A quadrature scheme (object of class "quad").

...

Arguments passed to [.ppp to determine the subset.

Details

This function extracts a designated subset of a quadrature scheme.

The function [.quad is a method for [ for the class "quad". It extracts a designated subset of a quadrature scheme.

The subset to be extracted is determined by the arguments ... which are interpreted by [.ppp. Thus it is possible to take the subset consisting of all quadrature points that lie inside a given region, or a subset of quadrature points identified by numeric indices.

Value

A quadrature scheme (object of class "quad").

Author(s)

See Also

Examples

Q <- quadscheme(nztrees)
 W <- owin(c(0,148),c(0,95)) # a subwindow
 Q[W]

spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.