[R-sig-Geo] How to improve calculation time of spatial weight matrices on spdep

Roger Bivand Roger.Bivand at nhh.no
Tue May 9 14:12:28 CEST 2006


On Tue, 9 May 2006, Hisaji ONO wrote:

> Hello.
> 
>  Currently, among GeoComputaion community in Japan,
> GeoDa's calculation speed of  spatial weight matrices of
> polygons are highly evaluated.
> 
>  Any idea to improve this of spdep?
> 

Further to my previous message, the next release of spdep will have time 
savings like from 1000 seconds reduced to 300 seconds on a 3500 polygon 
data set. Thanks for pointing this out, with Rprof(), it wasn't difficult 
to find a cheap way to economise (only check storage mode once per 
polygon).

Roger

> 
> 
>  Regards.
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list