Re: [R] error message for function: lmer (from lme4 package)

2017-11-17 Thread David Winsemius
> snipped > > Hi, Bert, > Sorry about that! David seemed to be able to read the post since he replied. The only reason it appear readable was that you copied me as well as the list. Then HTML was still the basic format although it did npt appear that way to me since my reader could handle it

Re: [R] error message for function: lmer (from lme4 package)

2017-11-16 Thread Fix Ace via R-help
Hi, Bert, Thank you very much for the comments and suggestions! Ace On Wednesday, November 15, 2017 10:44 AM, Bert Gunter wrote: Always cc the list, which I have done here. I am not a (free) private consultant, nor do I have all the answers. Based on what you sent me, which is not wha

Re: [R] error message for function: lmer (from lme4 package)

2017-11-15 Thread Bert Gunter
Always cc the list, which I have done here. I am not a (free) private consultant, nor do I have all the answers. Based on what you sent me, which is not what you have previously posted, you failed to load the lme3 package. See ?library. As for the appropriateness of your modeling, you should do w

Re: [R] error message for function: lmer (from lme4 package)

2017-11-14 Thread David Winsemius
> On Nov 14, 2017, at 12:49 PM, Fix Ace wrote: > > Hi, David, > > Thank you very much for getting back to me! Sorry about the messy code > example. I am re-posting here (including the error message): > > > example.3=data.frame(levels=as.numeric(XXX[,c(4)]),replicate=rep(c("0","1","2","3","4",

Re: [R] error message for function: lmer (from lme4 package)

2017-11-14 Thread Bert Gunter
Still a complete mess! Post in **plain text**. This should be an option in your email software. Please seek local help if you cannot figure out how to do this. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka

Re: [R] error message for function: lmer (from lme4 package)

2017-11-14 Thread Fix Ace via R-help
Hi, David, Thank you very much for getting back to me! Sorry about the messy code example. I am re-posting here (including the error message): > example.3=data.frame(levels=as.numeric(XXX[,c(4)]),replicate=rep(c("0","1","2","3","4","5"),3),conditions=c(rep("11",6),rep("12",6),rep("13",6)))> > exa

Re: [R] error message for function: lmer (from lme4 package)

2017-11-14 Thread David Winsemius
> On Nov 14, 2017, at 5:13 AM, Fix Ace via R-help wrote: > > Dear R Community, > My data have 3 conditions and each condition has 6 replicates. I am trying to > fit my data for a linear mixed model using the lmer function from lme4 > package to find the random effects of the replicates; Bette

[R] error message for function: lmer (from lme4 package)

2017-11-14 Thread Fix Ace via R-help
Dear R Community, My data have 3 conditions and each condition has 6 replicates. I am trying to fit my data for a linear mixed model using the lmer function from lme4 package to find the random effects of the replicates; however, I got the error message. Here are the example codes: >example.3=da