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, col.cut=par("fg"))

Arguments

x

Leverage measure (object of class "leverage.ppm") computed by leverage.ppm.

...

Arguments passed to plot.im or contour.im controlling the plot.

showcut

Logical. If TRUE, a contour line is plotted at the level equal to the theoretical mean of the leverage.

col.cut

Optional colour for the contour line.

Details

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

Use the argument clipwin to restrict the plot to a subset of the full data.

Value

None.

Author(s)

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

References

Baddeley, A., Chang, Y.M. and Song, Y. (2013) Leverage and influence diagnostics for spatial point process models. Scandinavian Journal of Statistics 40, 86–104.

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.38-1 Index]