This is C code, not(yet) on a public CVS server. The only way to examine the source is to download the source package from CRAN, unpack it, and look in src/lagw.c

If the macros are not clear enough, you can browse the R source code including the headers at https://svn.r-project.org/R/, and please refer to the relevant sections of the "writing R extensions" manual.

If you have further questions (and suggestions), please write!

(I am starting to re-implement at least listw objects as S4 (new-style) classes based on sparse matrices - if anyone on the list is interested in this, please let me know)

Best wishes

Roger

---
Roger Bivand, NHH, Helleveien 30, N-5045 Bergen,
Roger.Bivand@nhh.no



-----Original Message-----
From: r-sig-geo-bounces@stat.math.ethz.ch on behalf of Alí Santacruz
Sent: Sun 19.11.2006 22:34
To: r-sig-geo@stat.math.ethz.ch
Subject: [R-sig-Geo] lag.listw function in spdep package
 
Dear list members,

I am studying the SAR models and its implementation in R, step by step. For 
the creation of the spatial lags, I found that function lag.listw calls an 
internal function "lagw".

I would like to know if it is possible to see the code of "lagw" function in 
R, is there any command to do this?

I really appreciate your help,

Sincerely,

Alí M. Santacruz
M.Sc. Geomatics, Student
National University of Colombia
E-mail: amsantac@unal.edu.co
Bogotá D.C.

_________________________________________________________________
MSN Amor: busca tu ˝ naranja http://latam.msn.com/amor/

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


	[[alternative HTML version deleted]]


