[R-sig-Geo] poly2nb

Roger Bivand Roger.Bivand at nhh.no
Wed Oct 22 09:22:37 CEST 2008


On Tue, 21 Oct 2008, Raphael Saldanha wrote:

> Hi!
> As suggested, I'm using poly2nb to make queen and rook contiguity matrices,
> but all they are first order. How can I work with another orders?

nblag() in spdep to generate a list of nb objects for increasing orders, 
nblag_cumul() to cumulate such a list.

Roger

>
> Regards,
>
> Raphael Saldanha
> saldanha.plangeo at gmail.com
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> 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