stapp.SpatialPolygonsDataFrame {lgcp} | R Documentation |
stapp.SpatialPolygonsDataFrame function
Description
Construct a space-time aggregated point-process (stapp) object from a SpatialPolygonsDataFrame (along with some other info)
Usage
## S3 method for class 'SpatialPolygonsDataFrame'
stapp(obj, counts, t, tlim, window, ...)
Arguments
obj |
an SpatialPolygonsDataFrame object |
counts |
a (length(t) by N) matrix containing aggregated case counts for each of the geographical regions defined by the SpatialPolygonsDataFrame, where N is the number of regions |
t |
vector of times, for each element of t there should correspond a column in the matrix 'counts' |
tlim |
vector giving the upper and lower bounds of the temporal observation window |
window |
the observation window, of class owin, see ?owin |
... |
additional arguments |
Value
an object of class stapp
[Package lgcp version 2.0 Index]