plot.leverage.ppm {spatstat}R Documentation

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.

Details

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

Value

None.

Author(s)

Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/

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

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

[Package spatstat version 1.25-3 Index]