search for: kernel2d

Displaying 6 results from an estimated 6 matches for "kernel2d".

Did you mean: kernel26
2009 Mar 30
1
Warning messages in Splancs package :: no non-missing arguments to min; returning Inf
...ment6\\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=TRUE) I would need to analyze the relationship betweeb the two Shapefiles, but I am receiving the following warning message and a blank output Xrange is 1827.026 6796.202 Yrange...
2007 Dec 17
1
polygon class in splancs package
Dear forum, I would like to use the kernel2d or spkernel2d in the Splancs-package, but it does not recognize my polygon data. "Error in kernel2d(as.points(ptsbin), polygonprov, h0 = 2, nx = 100, : " is the error message. Invalid poly argument The data are defined as follows: polgonprov<-list(x=polyprov$X, y=pol...
2004 Mar 17
1
(no subject)
Dear All, I am trying to visualize the surface of a bivariate kernel density estimate. I have a vector of bivariate observations(x,y), and a function which computes the kernel density estimate z corresponding to each observation. I cannot generate the (x,y) data in the ascending order needed by persp(x,y,z). I was wondering whether there is an R version of the S function interp. Would anybody
2008 Oct 24
0
Weighted LSCV 2d kernel smoothing
...n ArcMap shapefile), and have been unable to find tools to conduct such analysis in R. My biggest problem is determining the LSCV value and finding a tool that does weighted smoothing, as there are obviously many different packages that will conduct 2d kernel smoothing (kde2d{MASS} - gaussian, (sp)kernel2d in {splaces} -- quartic) and even those that do weighted 1d (density{stats}). Crimestat will conduct the smoothing (weighted or no) if I can determine LSCV values, so getting past that step alone would be excellent. Hlscv{ks} would appear to calculate LSCV for non-weighted datasets once I can parse...
2005 Sep 16
1
Question:manipulating spatial data using combination of Maptools and Splancs
Hi, I have a problem that concerns combination of the package Maptools and Splancs I have 2 shapefiles that i want to manipulate (one of type point and one polygon).I import them in R using Maptools but then i can't estimate a quartic Kernel using Splancs. The package doesn't recognize the shapes (invalid points and poly argument).I don't know if this is an easy task but i have
2008 May 05
3
troubles with R CMD check and examples under Ubuntu gutsy
Dear listers, I was used to package pgirmess under Windows with everything OK, but, for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I have a double boot computer and work more and more under unix) and R 2.7.0. Everything went OK except this: sudo R CMD check pgirmess ..... * checking examples ... ERROR Running examples in 'pgirmess-Ex.R' failed. The error most