View source: R/spatialAtRiskClassDef.R
spatialAtRisk.function | R Documentation |
Creates a spatialAtRisk object from a function mapping R^2 onto the non negative reals. Note that for spatialAtRisk objects defined in this manner, the user is responsible for ensurng that the integral of the function is 1 over the observation window of interest.
## S3 method for class ''function''
spatialAtRisk(X, warn = TRUE, ...)
X |
a function with accepts arguments x and y that returns the at risk population at coordinate (x,y), which should be a numeric of length 1 |
warn |
whether to issue a warning or not |
... |
additional arguments |
object of class spatialAtRisk NOTE The function provided is assumed to integrate to 1 over the observation window, the user is responsible for ensuring this is the case.
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.
lgcpPredict, linklgcpSim, spatialAtRisk.default, spatialAtRisk.fromXYZ, spatialAtRisk.im, spatialAtRisk.SpatialGridDataFrame, spatialAtRisk.SpatialPolygonsDataFrame, spatialAtRisk.bivden
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.