Re: [R] Lattice nb/wlist help

From: Gary Nobles <G.R.Nobles_at_rug.nl>
Date: Wed, 27 Apr 2011 02:28:03 -0700 (PDT)

hi I am still tryingto do this, I have been working on this for a year but i have remained stuck...

I have points at regular intervals but within an irregular window

I need to make a nb weights matrix, then nb2wlist conceptually a D8 neighbourhood something like this:

0000000
0000000
0011100
0011100
0011100
0000000
0000000

but I also want another matrix like this (D24):

0000000
0111110
0111110
0111110
0111110
0111110
0000000

and so on...

If anyone can help I would be very grateful

Gary

--
View this message in context: http://r.789695.n4.nabble.com/Lattice-nb-wlist-help-tp3253962p3477619.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 27 Apr 2011 - 09:32:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Apr 2011 - 13:50:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive