GotelliLab / EcoSimR

Repository for EcoSimR, by Gotelli, N.J. , Hart E. M. and A.M. Ellison. 2014. EcoSimR 0.1.0
http://ecosimr.org
Other
29 stars 10 forks source link

RA2 throws error #7

Closed emhart closed 10 years ago

emhart commented 10 years ago

RA2 throws an error:

> RA2(species_data)
> Error in `[<-.data.frame`(`*tmp*`, z, value = c(0.541982688708231, 0.0249929069541395,  : 
  new columns would leave holes after existing columns
emhart commented 10 years ago

Error caused by passing dataframes to algorithm. Fixed by coercing dataframes into matrices.