[R] Car.proper C[] matrix

jgasper Jason.Gasper at noaa.gov
Wed Sep 17 19:36:50 CEST 2008

I have been using the nb2WB() package for the car.normal function in WinBUGS,
but it will not create the C[] matrix; it only creates adj[], num[], and
weights[]. I was planning on using this function to create the C[] matrix
(by using the num matix) required for the car.proper, but I got slipped up
on the R coding. My data set is large enough that WinBUGS chokes on the code
I provided below. 

Roger Bivand wrote:
> Jason Gasper <Jason.Gasper <at> noaa.gov> writes:
>> Here is the WinBUGS code
>> Uwe Ligges wrote:
>> > If you want that people help to translate *code*, you have to specify 
>> > it ...
>> >
>> > Uwe Ligges
> Please look at the nb2WB() function in the spdep package, I think that
> you'll 
> find that it provides what you need.
> Roger Bivand
> ______________________________________________
> 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.

View this message in context: http://www.nabble.com/Car.proper-C---matrix-tp19503547p19537367.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list