Hi Ronaldo,
I suggest that you send us a small, well-documented, code example that
we can reproduce. It certainly looks as though there is a problem,
but given this information it's hard to know what it is!
Cheers
Andrew
On Thu, Feb 22, 2007 at 06:22:03PM -0200, Ronaldo Reis Junior
wrote:> 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 at unimontes.br | chrysopa at
gmail.com
> | ICQ#: 5692561 | LinuxUser#: 205366
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
--
Andrew Robinson
Department of Mathematics and Statistics Tel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599
http://www.ms.unimelb.edu.au/~andrewpr
http://blogs.mbs.edu/fishing-in-the-bay/