Dear All

I have been using my species data with corresponding lat and long and
environmental variables with lat and long values for GDM testing.
 I have formatted my data table in the following way:
 >formatGDMData(EGS, bioFormat = 2, dist = "bray", abundance = F,
siteColumn = Sites, XColumn=c(1:2), YColumn=c(1:2), sppColumn = Species,
abundColumn = NULL, sppFilter = 0, predData=EGV, distPreds = NULL,
weightType = "def", custWeightVect = NULL)

>Error in matrix(unlist(value, recursive = FALSE, use.names = FALSE), nrow
= nr,  :
  length of 'dimnames' [2] not equal to array extent
In addition: Warning message:
In formatGDMData(EGS, bioFormat = 2, dist = "bray", abundance = F,  :
 * No abundance column specified, assuming all data is presence only*


 >formatGDMData(EGS, bioFormat = 2, dist = "bray", abundance = F,
siteColumn = Sites, XColumn=c(1:2), YColumn=c(1:2), sppColumn = Species,
abundColumn = NULL, sppFilter = 0, predData=EGV, distPreds = NULL,
weightType = "def", custWeightVect = NULL)

>Error in matrix(unlist(value, recursive = FALSE, use.names = FALSE), nrow
= nr,  :
  length of 'dimnames' [2] not equal to array extent
In addition: Warning message:
In formatGDMData(EGS, bioFormat = 2, dist = "bray", abundance = F,  :
  No abundance column specified, assuming all data is presence only

> mymod <- gdm.fitfromtable(EGV, EGS, geo = TRUE)
Error in gdm.fitfromtable(EGV, EGS, geo = TRUE) :


*Response data has negative values*
However, I have no negative entries in my data

Your useful advise is highly appreciated

With best Regards
Rajendra M Panda
School of Water Resources
Indian Institute of Technology Kharagpur

	[[alternative HTML version deleted]]

