spatstat (version 1.25-5)

plot.leverage.ppm: Plot Leverage Function

Description

Plots a leverage function that has been computed by leverage.ppm.

Usage

## S3 method for class 'leverage.ppm':
plot(x, ..., showcut=TRUE)

Arguments

x
Leverage measure (object of class "leverage.ppm") computed by leverage.ppm.
...
Arguments passed to plot.im controlling the image plot.
showcut
Logical. If TRUE, a contour line is plotted at the level equal to the theoretical mean of the leverage.

Value

  • None.

Details

This is the plot method for objects of class "leverage.ppm". These objects are computed by the command leverage.ppm.

References

Baddeley, A. and Chang, Y.M. and Song, Y. (2011) Leverage and influence diagnostics for spatial point process models. Scandinavian Journal of Statistics, in press.

See Also

leverage.ppm

Examples

Run this code
X <- rpoispp(function(x,y) { exp(3+3*x) })
   fit <- ppm(X, ~x+y)
   plot(leverage(fit))

Run the code above in your browser using DataCamp Workspace