Construct a space-time aggregated point-process (stapp) object from a SpatialPolygonsDataFrame (along with some other info)
# S3 method for SpatialPolygonsDataFrame
stapp(obj, counts, t, tlim, window, ...)
an SpatialPolygonsDataFrame object
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
vector of times, for each element of t there should correspond a column in the matrix 'counts'
vector giving the upper and lower bounds of the temporal observation window
the observation window, of class owin, see ?owin
additional arguments
an object of class stapp