 

I think there is an easy answer to my questions, I'm just not very
familiar with R.  Ultimately I want to perform a Moran's I test on a
grid of binary data.  I'm having problems simply making a neighbour list
though.  I've used cell2nb to make a neighbour list.  

I have two questions.

 

Firstly, if I use type="queen", I am assuming that each cell has 8
neighbouring cells?  Is this correct and is there anyway of setting it
to include the next layer or two layers of neighbouring cells, so that
each cell would have 24 neighbouring cells, or 48 neighbouring cells?

 

Secondly, once I have my neighbour list, I realise I have to convert it
to a listw object in order to use it in moran.test.  Do I do this using
nb2listw()?  I don't want to weight anything though so would it be
possible for someone to tell me exactly what to type?!

 

Sorry for asking such basic questions but I've been struggling with this
all day....

 

Thanks very much,

 

Elizabeth Boakes

Dr Elizabeth Boakes
Postdoctoral Research Assistant
Institute of Zoology
Regent's Park
London NW1 4RY
tel: 020 7449 6621

http://www.zoo.cam.ac.uk/ioz 
ZOOLOGICAL SOCIETY OF LONDON
LIVING CONSERVATION
Registered Charity no. 208728

 

 



The Zoological Society of London is incorporated by Royal Charter
Principal Office England. Company Number RC000749
Registered address: 
Regent?s Park, London, England NW1 4RY
Registered Charity in England and Wales no. 208728

_________________________________________________________________________
This e-mail has been sent in confidence to the named address...{{dropped}}


