
Hi,
&nbsp;
I want to test for spatial autocorrelation of vegetation cover in fixed plots across a site. I thought that using Moran's I in spdep would be suitable but as I am fairly new to R I am quite confused by the script and how I should set out my data.
&nbsp;
My data is in the following format (an extract only)&nbsp;with location in an x,y&nbsp;columns followed by the variables concerning vegetation&nbsp;in percentage cover
&nbsp;






loc_x
loc_y
&nbsp;festuca_sp
lolium_sp
agrostis_sp
descham_sp
calluna_vulg
perc_cov

409471
397133
6
0
0
0
100
98

409475
397141
0
0
0
12
65
95

409511
397279
0
0
1
85
30
98

409513
397284
0
0
1
40
0
99

409511
397276
0
0
1
30
0
90

409498
397073
0
0
1
30
60
98

409509
397076
0
0
0
4
60
99

409508
397060
8
0
0
0
60
100

409598
397107
15
0
1
45
0
90

409595
397109
1
0
1
44
0
98

409589
397121
5
0
1
60
0
95
&nbsp;
I would really appreciate advice on this as I am still finding my feet with R. I am using R in windows xp.
&nbsp;
Kind regards
Jen





      __________________________________________________________


	[[alternative HTML version deleted]]


