sepstlppm {stopp}R Documentation

Fit a separable spatio-temporal Poisson process model on a linear network

Description

Fit a separable spatio-temporal Poisson process model on a linear network

Usage

sepstlppm(x, spaceformula, timeformula)

Arguments

x

A stlpm object

spaceformula

A formula for the spatial component. See lppm for details

timeformula

A formula for the temporal component. It fits a log-linear model with the glm function

Value

An object of class sepstlppm

Examples


crimesub <- stpm(valenciacrimes$df[101:200, ],
           names = colnames(valenciacrimes$df)[-c(1:3)],
L = valencianet)

mod1 <- sepstlppm(crimesub, spaceformula = ~x ,
                  timeformula = ~ day)



[Package stopp version 0.2.4 Index]