Learn R Programming

lgcp (version 1.0)

showGrid.stppp: showGrid...

Description

showGrid.stppp function

Usage

## S3 method for class 'stppp':
showGrid(x, ...)

Arguments

x
an object of class stppp. Note this function oly applies to SIMULATED data.
...
additional arguments passed to points

Value

  • plots grid centroids on the current graphics device. FOR SIMULATED DATA ONLY.

Details

If an stppp object has been created via simulation, ie using the function lgcpSim, then this function will display the grid centroids that were used in the simulation

See Also

lgcpSim, showGrid.default, showGrid.lgcpPredict

Examples

Run this code
xyt <- lgcpSim()
plot(xyt)
showGrid(xyt,pch="+",cex=0.5)

Run the code above in your browser using DataLab