spatialAtRisk.fromXYZ {lgcp}R Documentation

spatialAtRisk.fromXYZ function

Description

Creates a spatialAtRisk object from a list of X, Y, Zm giving respectively the x and y coordinates of the grid and the 'z' values ie so that Zm[i,j] is proportional to the at-risk population at X[i], Y[j].

Usage

## S3 method for class 'fromXYZ'
spatialAtRisk(X, Y, Zm, ...)

Arguments

X

vector of x-coordinates

Y

vector of y-coordinates

Zm

matrix such that Zm[i,j] = f(x[i],y[j]) for some function f

...

additional arguments

Value

object of class spatialAtRisk

  1. Brix A, Diggle PJ (2001). Spatiotemporal Prediction for log-Gaussian Cox processes. Journal of the Royal Statistical Society, Series B, 63(4), 823-841.

  2. Diggle P, Rowlingson B, Su T (2005). Point Process Methodology for On-line Spatio-temporal Disease Surveillance. Environmetrics, 16(5), 423-434.

See Also

lgcpPredict, linklgcpSim, spatialAtRisk.default, spatialAtRisk.im, spatialAtRisk.function, spatialAtRisk.SpatialGridDataFrame, spatialAtRisk.SpatialPolygonsDataFrame, spatialAtRisk.bivden


[Package lgcp version 2.0 Index]