Hi. I'm trying to run spatial conditional autoregression (spautolm) in SPDEP.
My command is simply:
spautolm(vote~income, listw=listw5)
Listw5 is a weight matrix made up by nearest 5 neighbors. I have 22000 cases.
However, the command could not run and I got the following message:
Error: canno
On Thu, 9 Aug 2007, Andrew Niccolai wrote:
> Greetings all,
>
> I recently upgraded from R-2.4.1 to R-2.5.1 on Windows XP OS. Now when I
> run my application (literally thousands of lines of code), I crash whenever
> I had code using the names() function. The error message is the following:
>
>
Greetings all,
I recently upgraded from R-2.4.1 to R-2.5.1 on Windows XP OS. Now when I
run my application (literally thousands of lines of code), I crash whenever
I had code using the names() function. The error message is the following:
Error in names(argue) : no applicable method for "names"
Hello,
the reason you are getting that error from the ncdf package is because you
have defined variable "Radon" to be a *two* dimensional array in the
netcdf file. The number of entries in dimension 1 is length(long) =
10573, and the number of entries in dimension 2 is length(lat) = 10573.
So, t
On Fri, 3 Aug 2007, Hisaji ONO wrote:
> Dear Marco
>
> Thank you very much for your info.
Dear Hisaji,
Would Mondrian http://rosuda.org/Mondrian/ be of any use? The maptools
package contains a function for exporting SpatialPolygonsDataFrame objects
for (older) Mondrian, and will support the re
On Thu, 9 Aug 2007, Felix Andrews wrote:
> Hi again...
>
> I like spplot (in sp package), but I would like to able to plot
> simpler types like SpatialPolygons, SpatialPoints, etc. Even Polygons.
> And a default method could plot points using xy.coords. I do not see
> why a data.frame must be atta
On Thu, 9 Aug 2007, Felix Andrews wrote:
e.g.
# x is a gpc.poly object
as.Polygons.gpc.poly <- function(x, ID) {
thisPolys <- lapply(get.pts(x), function(p) {
Polygon(rbind(as.matrix(cbind(p$x,p$y)),c(p$x[1],p$y[1])),
hole=p$hole)
})
Hi again...
I like spplot (in sp package), but I would like to able to plot
simpler types like SpatialPolygons, SpatialPoints, etc. Even Polygons.
And a default method could plot points using xy.coords. I do not see
why a data.frame must be attached, it might not be relevant:
> showMethods(spplot