Learn R Programming

lgcp (version 1.8)

showGrid.stppp: showGrid.stppp function

Description

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

Usage

# S3 method for 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.

See Also

lgcpSim, showGrid.default, showGrid.lgcpPredict

Examples

Run this code
# NOT RUN {
xyt <- lgcpSim()
# }
# NOT RUN {
plot(xyt)
# }
# NOT RUN {
showGrid(xyt,pch="+",cex=0.5)
# }

Run the code above in your browser using DataLab