[R-sig-eco] PCNM function

Valerie Mucciarelli soccermucc at hotmail.com
Wed Aug 21 20:19:00 CEST 2013


Hello,

  I am doing some spatial analysis and am attempting to use the PCNM function from the PCNM package.  I am using the most recent version of R and have loaded the packages "packfor" and "AEM".  When I try to run the PCNM function as below:

xy.d1 <- dist(loc)
spe.PCNM.auto <- PCNM(xy.d1)

I receive this error:

Error in moran.I.uni(eigenvector.mat[, i], mat.W, scaled = scaled, normalize = normalize,  : 
  could not find function "boot"
Timing stopped at: 0 0 0.04 


loc is a dataframe with xy coordinates:

    Easting Northing
1  471319.7  5362197
2  471308.7  5362196
4  471370.7  5362222
7  471369.4  5362221
12 471370.8  5362230
13 471301.6  5362188


I've also tried using this function with other data and receive the same error message.  Has anyone experienced this?

Thank you,

Val 		 	   		  


More information about the R-sig-ecology mailing list