
Point Patterns on a Linear Network 729
This idiom means that the crime ty pes "assault" and "robbery" have been mapped to a single
type "person", and all other crime types have b e en mapped to the typ e "property".
> chicagoG
Point pattern on linear network
116 points
Multitype, with possible types: person, property
Linear network with 338 vertices and 503 lines
Enclosing window: rectangle = [0, 1282] x [153, 1277] feet
We ma y then apply th e likelihood ratio test:
> fitGcx <- lppm(chicagoG
~
marks * polynom(x,y,2))
> fitGca <- lppm(chicagoG
~
marks + polynom(x,y,2))
> anova(fitGca, fitGcx, test="LR")
Analysis of Deviance Table
Model 1:
~
marks + (x + y + I(x^2) ...