# plot.leverage.ppm

From spatstat v1.37-0
by Adrian Baddeley

##### Plot Leverage Function

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.

##### 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

##### Examples

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

*Documentation reproduced from package spatstat, version 1.37-0, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.