Re: [R] lme command

2010-06-14 Thread Joshua Wiley
Hello Enrico, One thing I notice between your two calls is that in the second you specify data=dados, but you do not in the first. When I try to do something similar to your formulae using one of my longitudinal datasets, I get the same results whether or not I put the formula for random in a lis

[R] lme command

2010-06-14 Thread Enrico Colosimo
Hi, I am doing a longitudinal data set fit using lme. I used two forms of the lme command and I am getting two different outputs. FIRST out<-lme(Altura~Idade+Idade2+sexo+status+Idade:sexo+Idade:status+Idade2:sexo+Idade2:status, random=(list(ident=~Idade+Idade2))) SECOND out<-lme(Altura~Idade+Ida