Displaying 1 result from an estimated 1 matches for "auto_theft_98".
2009 Mar 30
1
Warning messages in Splancs package :: no non-missing arguments to min; returning Inf
...apefile (downloadable at)
http://rapidshare.com/files/215206891/Redlands_Crime.zip
and the following execution code
setwd("C:\\Documents and
Settings\\Dejan\\Desktop\\GIS\\assignment6\\DataSet_Redlands_Crime\\Redlands_Crime")
library(foreign)
library(splancs)
auto_xy<-read.dbf("Auto_theft_98.dbf")
rob_xy<-read.dbf("Robbery_98.dbf")
auto.spp<-as.points(auto_xy$x/1000, auto_xy$y/1000)
rob.spp<-as.points(rob_xy$x/1000, rob_xy$y/1000)
image(kernel2d(auto.spp, bbox(auto.spp), h0=4, nx=100, ny=100),
col=terrain.colors(10))
pointmap(auto.spp, col="red", add=T...