[R-sig-Geo] kde output from ks reversed

andrewaduff andrewaduff at gmail.com
Thu Feb 17 19:36:49 CET 2011

Im having trouble with the results from the ks package being reversed.  There
must be a simple error that I am overlooking?  Does anybody see my problem

## for testing, just the first 100 records, format x coord, y coord
curset <- curset[1:100,] 

#Calculate hpi, hpidiag
Hpi1 <- Hpi(x = curset)

## Do the kde
ud_hpi <- kde(x = curset, H = Hpi1)

im <- list(x=ud_hpi$eval.points[[1]], y=ud_hpi$eval.points[[2]],
SPim <- image2Grid(im)


View this message in context: http://r-sig-geo.2731867.n2.nabble.com/kde-output-from-ks-reversed-tp6037090p6037090.html
Sent from the R-sig-geo mailing list archive at Nabble.com.

More information about the R-sig-Geo mailing list