[R-sig-eco] error in 'rownames??

2009-08-26 Thread Megan Perry
Hi, I am trying to analyze my data using a linear mixed effects model, using the nlme package. The model I am using is: >LW<-lme(fixed=r ~ t,random = ~ 1 | s, method=c("ML"), data=NPLW) but, I am stumped with the error message: Error in `rownames<-`(`*tmp*`, value = c("1", "2", "3", "4", "5"

Re: [R-sig-eco] error in 'rownames?? - problem solved!

2009-08-26 Thread Megan Perry
Hi, Another student here got the problem figured out! R was calling the variable "r" a factor, not a number, and then it couldn't fit an lme to a factor response variable Thank you! Megan Perry Alaska Cooperative Fish and Wildlife Research Unit - USGS Institute of Arctic Biology 211 Irv

[R-sig-eco] error in 'rownames??

2009-08-26 Thread Megan Perry
Hi, I am trying to analyze my data using a linear mixed effects model, using the nlme package. The model I am using is: >LW<-lme(fixed=r ~ t,random = ~ 1 | s, method=c("ML"), data=NPLW) but, I am stumped with the error message: Error in `rownames<-`(`*tmp*`, value = c("1", "2", "3", "4", "5"

Re: [R-sig-eco] Teaching materials

2009-08-26 Thread Dave Roberts
Volker, You're welcome to take look at my site: http://ecology.msu.montana.edu/labdsv/R It's primarily for multivariate analysis in community ecology, bit does also have some stuff on GLMs and GAMS in an ecological context. You might also visit with Hank Stevens at Miami as he's just next d

[R-sig-eco] Teaching materials

2009-08-26 Thread Volker Bahn
Hi all, I'll be teaching a 400/600 level bio/ecostatistics class using R this fall (using "Introductory Statistics with R" as text book). I was wondering if anyone here had any teaching material (lecture slides, exercises, homework, projects, code for teaching etc) that they would like to sha