spatialAtRisk.function: spatialAtRisk.function function

Description Usage Arguments Value See Also

Description

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.

Usage

1
2
## S3 method for class 'function'
spatialAtRisk(X, warn = TRUE, ...)

Arguments

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

Value

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.

  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.fromXYZ, spatialAtRisk.im, spatialAtRisk.SpatialGridDataFrame, spatialAtRisk.SpatialPolygonsDataFrame, spatialAtRisk.bivden


bentaylor1/lgcp documentation built on May 12, 2019, 2:09 p.m.