Displaying 1 result from an estimated 1 matches for "grd1".
Did you mean:
gr1
2009 Aug 18
0
kernel density estimation for univariate data using splancs
...ch worked but I wanted finer control of the bandwidth. Therefore, I was advised to switch to the package splancs. I've been trying to copy the example provided in the help file but cannot produce the same results for my data. I've pasted my code below and I am not sure how to define the grd1 (cellsize and cells.dim). Here is my code:
coords <- S at polygons[[1]]@Polygons[[1]]@coords
coord <- as.points(coords)
cases1.xy <- as.points(mergedis$jit.x.x, mergedis$pre.fsa.shp.Y2)
grd1 <- GridTopology(cellcentre.offset=c(50281627.2, 580082), cellsize=c(0.2, 0.2), cells.dim=c...