[R] problem with weights on lmer function
Ronaldo Reis Junior
chrysopa at gmail.com
Thu Feb 22 21:22:03 CET 2007
Hi,
I try to make a model using lmer, but the weigths is not accept.
m1<-lmer(ocup/total~tempo+(tempo|estacao),family=binomial,weights=total)
Erro em lmer(ocup/total ~ tempo + (tempo | estacao), family = binomial, :
object `weights' of incorrect type
I dont understand why this error, with glm this work. the total object is a
vector.
Any idea?
Thanks
Ronaldo
--
God is subtle, but he is not malicious.
-- Albert Einstein
--
> Prof. Ronaldo Reis Júnior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva
| : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
| `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
| `- Fone: (38) 3229-8190 | ronaldo.reis em unimontes.br | chrysopa em gmail.com
| ICQ#: 5692561 | LinuxUser#: 205366
More information about the R-help
mailing list