sepstppm | R Documentation |
Fit a separable spatio-temporal Poisson process model
sepstppm(x, spaceformula, timeformula)
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 |
An object of class sepstppm
crimesub <- stpm(valenciacrimes$df[101:200, ],
names = colnames(valenciacrimes$df)[-c(1:3)])
mod1 <- sepstppm(crimesub, spaceformula = ~x ,
timeformula = ~ day)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.