Dear R help folks I am trying to run nlme for the first time (currently without guidance of any textbooks), apologies if this is a bit simplistic. My model is 15 env predictors of diversity, grouped by 3 locations:
mod1<-nlme(shan~Alt+EC+Phos+pH+DOC+NO3NO2+H2O+Amino+NH4+Birds+Plants+Seals+Humans+Disttowest+Oceanicity,fixed=Alt+EC+Phos+pH+DOC+NO3NO2+H2O+Amino+NH4+Birds+Plants+Seals+Humans+Disttowest+Oceanicity~1,random=Alt+EC+Phos+pH+DOC+NO3NO2+H2O+Amino+NH4+Birds+Plants+Seals+Humans+Disttowest+Oceanicity~1|Group, data=gdata, start=selfStart) I have done the group data function which apeared to work and when I ask the data for the format it is currently telling me it is numeric: > is.numeric(gdata) [1] TRUE But is still spewing out the following error message: Error in Alt + EC + Phos + pH + DOC + NO3NO2 + H2O + Amino + NH4 + Birds + : non-numeric argument to binary operator Any help appreciated, thanks -- View this message in context: http://r.789695.n4.nabble.com/nlme-numeric-data-format-tp2539249p2539249.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.