sepstppm {stopp} | R Documentation |
Fit a separable spatio-temporal Poisson process model
Description
Fit a separable spatio-temporal Poisson process model
Usage
sepstppm(x, spaceformula, timeformula)
Arguments
x |
A |
spaceformula |
A formula for the spatial component. See ppm for details |
timeformula |
A formula for the temporal component. It fits a log-linear model with the glm function |
Value
An object of class sepstppm
Examples
crimesub <- stpm(valenciacrimes$df[101:200, ],
names = colnames(valenciacrimes$df)[-c(1:3)])
mod1 <- sepstppm(crimesub, spaceformula = ~x ,
timeformula = ~ day)
[Package stopp version 0.2.4 Index]