Extract a subset of a leverage map, or extract the leverage values at specified locations.
## S3 method for class 'leverage.ppm' x[i, ...]
A leverage object (of class
Subset index (passed to
Further arguments passed to
An object of class
"leverage.ppm" contains the values of the
leverage function for a point process model, computed by
This function extracts a designated subset of the leverage values, either as another leverage object, or as a vector of numeric values.
[.leverage.ppm is a method for
[ for the
"leverage.ppm". The argument
i should be either
a spatial window (object of class
determining a region where the leverage map is required.
The result will typically be another leverage map
(object of class
a spatial point pattern (object of class
specifying locations at which the leverage values are required.
The result will be a numeric vector.
The subset operator for images,
[.im, is applied to
the leverage map. If this yields a pixel image, then the result of
[.leverage.ppm is another leverage object. Otherwise,
a vector containing the numeric values of leverage is returned.
Another object of class
or a vector of numeric values of leverage.
1 2 3 4 5