search for: checkemptyrc

Displaying 1 result from an estimated 1 matches for "checkemptyrc".

2009 Aug 18
0
kernel density estimation for univariate data using splancs
...kernel2d(cases1.xy, coord, h0=1000, grd1) k5000 <- spkernel2d(cases1.xy, coord, h0=5000, grd1) if (.sp_lt_0.9()) { df <- AttributeList(list(k1000=k1000, k5000=k5000)) } else { df <- data.frame(k1000=k1000, k5000=k5000) } kernels <- SpatialGridDataFrame(grd1, data=df) spplot(kernels, checkEmptyRC=FALSE, col.regions=terrain.colors(16), cuts=15) Using this code, I get NAs for all values of k1000 and k5000. If this did work, can I then subtract the spplots from one another to have the difference between the two sets of cases? Any advice would be greatly appreciated! Kate . You need to c...