spatialAtRisk.lgcpgrid: spatialAtRisk.lgcpgrid function
Description
Creates a spatialAtRisk object from an lgcpgrid object
Usage
## S3 method for class 'lgcpgrid':
spatialAtRisk(X, idx = length(X$grid), ...)
Arguments
X
an lgcpgrid object
idx
in the case that X$grid is a list of length >
1, this argument specifies which element of the list to
convert. By default, it is the last.
...
additional arguments
Value
object of class spatialAtRisk
Brix A,
Diggle PJ (2001). Spatiotemporal Prediction for
log-Gaussian Cox processes. Journal of the Royal
Statistical Society, Series B, 63(4), 823-841.
Diggle P, Rowlingson B, Su T (2005). Point Process
Methodology for On-line Spatio-temporal Disease
Surveillance. Environmetrics, 16(5), 423-434.