Re: [R-sig-Geo] Very dissimilar results with Moran's I and EBI

2015-04-05 Thread Fabricio Vasselai
permit the subtraction of the mean smoothed rate. Is there any approximate date for that to become available? Since I've been working with comparisons between indices, that could make for an interesting play for my research Best regards, Fabricio Vasselai Political Science Department Universi

Re: [R-sig-Geo] Still a bug when converting from tess to spatial polygon (sp) format?

2014-05-14 Thread Fabricio Vasselai
mes(x$tiles) return(SpatialPolygonsDataFrame(SpatialPolygons(c), data=d)) } #End of the code Hope it helps. Best, Fabricio 2014-05-14 3:21 GMT-04:00 Roger Bivand : > > On Wed, 14 May 2014, Fabricio Vasselai wrote: > >> Dear all, >> >> >> After playing around

[R-sig-Geo] Still a bug when converting from tess to spatial polygon (sp) format?

2014-05-13 Thread Fabricio Vasselai
convert tess objects to a sp object in the pattern a shapefile map is read, i.e. with the "data" slot and with the polygon features as rows, no as columns? As always, thank you all for your time. Best, Fabricio Vasselai CPS-University of Michigan University of São Paulo [[alter

Re: [R-sig-Geo] Random polygon maps or dividing a polygon randomly

2014-05-13 Thread Fabricio Vasselai
Hi Andrew, You should give us a few more details on the kind of application you need these maps for, as well as on which sort of random process you are thinking of. You yourself mentioned that randomly dividing a polygon is enough for your, not needing a random generation of the outlines of the

Re: [R-sig-Geo] Comparing spatial patterns: cases vs population

2013-07-25 Thread Fabricio Vasselai
Do you mean something similar to what the bivariate Ripley's K function does for spatial point distribution? Hm, if yes I do not know of anything similar (would love to be pointed to some solution too). But what I've done once to handle a similar problem was: 1) I calculated LISA measures for bot

[R-sig-Geo] Sampling random clustering of spatial points for districatilization experiment

2013-07-04 Thread Fabricio Vasselai
Dear all, I have a spatial point data (lat-long) with 1000 points representing pooling stations (all within a given city). Each point has two variables attached to it: number of population registered to the pooling station and city region to which the pooling stations belong. What I am trying to

Re: [R-sig-Geo] help in constructing spatial weight matrix

2012-06-11 Thread Fabricio Vasselai
Dear list, Given a following up to this question, I have myself a somewhat similar question to that of Alsulami. I have a shp of Finnish cities and would like to generate for them a weight matrix of neighborhood based on inverse distance (for further use in Moran's I calculus). Here is the code I'

Re: [R-sig-Geo] Error in Moran.test: In sqrt(VI) : NaNs

2012-04-05 Thread Fabricio Vasselai
Dear Rober, thank you very much for all the explanation! Of course it did clarify a lot. I will also take a look at your suggestion about leading with the zero-inflation menance. FABRICIO 2012/4/5 Roger Bivand > On Thu, 5 Apr 2012, Fabricio Vasselai wrote: > > Dear list, >> &

[R-sig-Geo] Error in Moran.test: In sqrt(VI) : NaNs

2012-04-04 Thread Fabricio Vasselai
Dear list, Maybe someone can shed some light on this error. I have a dataset with thousands of candidates with electoral support per city. I wrote a R script to calculate both Moran.test and Moran.MC (9 iterations), and also Geary C test. The script run very fine, but at the end I have noticed

[R-sig-Geo] How to generate/use inverse distance matrices with spdep?

2012-03-20 Thread Fabricio Vasselai
Dears, A very noob question here. I would like to calculate Moran I using inverse distance matrices. The problem is Open GeoDa does not generate those, only threshold distance matrix. On the other hand, although ArcGis does generate inverse distance matrices, they are in SWM file type which is not

[R-sig-Geo] N-order adjacency spatial weighted matrix from a polygonal shape file whithin R

2012-01-28 Thread Fabricio Vasselai
Dears, Although I am formaly new to this mailing list, for months I've been reading lots of threads here both on handling shape files and on making different adjacency spatial weighted matrices. But I still keep wondering and trying if is it possible to: 1) make n-order adjacency matrix from a pol