| plot.leverage.ppm {spatstat} | R Documentation |
Plots a leverage function that has been computed by leverage.ppm.
## S3 method for class 'leverage.ppm'
plot(x, ..., showcut=TRUE, col.cut=par("fg"))
x |
Leverage measure (object of class |
... |
Arguments passed to |
showcut |
Logical. If |
col.cut |
Optional colour for the contour line. |
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.
None.
Adrian Baddeley Adrian.Baddeley@uwa.edu.au http://www.maths.uwa.edu.au/~adrian/
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.
X <- rpoispp(function(x,y) { exp(3+3*x) })
fit <- ppm(X, ~x+y)
plot(leverage(fit))