Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Roger Bivand
z ~ dnorm(0,0.001)I(0,) prec ~ dgamma(0.001,0.001) tau ~ dgamma(0.001,0.001) } Many thanks, Xingli -----Original Message- From: Virgilio Gómez-Rubio [mailto:virgilio.go...@uclm.es] Sent: Wednesday, 25 November, 2009 3:27 AM To: Xingli Giam Cc: R-sig-Geo@stat.math.ethz.ch

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Xingli Giam
ards, Xingli -Original Message- From: Roger Bivand [mailto:roger.biv...@nhh.no] Sent: Wednesday, 25 November, 2009 6:20 AM To: Xingli Giam Cc: 'Virgilio Gómez-Rubio'; R-sig-Geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Roger Bivand
01,0.001) } Many thanks, Xingli -Original Message- From: Virgilio Gómez-Rubio [mailto:virgilio.go...@uclm.es] Sent: Wednesday, 25 November, 2009 3:27 AM To: Xingli Giam Cc: R-sig-Geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Xingli Giam
Wednesday, 25 November, 2009 3:27 AM To: Xingli Giam Cc: R-sig-Geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB() Hi, > I checked the adjacency matrix of the spatial weights list output object, > and a zero integer was placed

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Virgilio Gómez-Rubio
Hi, > I checked the adjacency matrix of the spatial weights list output object, > and a zero integer was placed at the position corresponding to the area with > no neighbours. Yes. Probably we need to fix this so that nothing is added when an area has no neighbours. > When I re-ran the analysis

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Xingli Giam
Hi everyone, Thank you in advance for your advice. First I must apologize for sending the two scrubbed messages in this thread. I thought MS Outlook Web Light sends messages in plain text format but I was wrong. I have transferred my account to my new email address and have set the email format to

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-24 Thread Giam Xingli
Title: Re: Converting nb list containing areas with no neighbours with nb2WB() Hi everyone, Thank you in advance for your advice. I am trying to convert a nb object containing a single area with no neighbours into a spatial weights list for input into WinBUGS using nb2WB(). When I tried to

[R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-24 Thread Giam Xingli
Hi everyone,   Thank you in advance for your advice. I am trying to convert a nb object containing a single area with no neighbours into a spatial weights list for input into WinBUGS using nb2WB().   When I tried to run the CAR models in WinBUGS using the spatial weights list via R2WinBUGS, I en