Re: [R] nested random factor using lme produces errors

2013-02-18 Thread Ben Bolker
melswed slu.se> writes: > > I understand. I want to specify that drug is only a fixed factor and family > should be the only random factor. So maybe, my R code is wrong If I > specify random=~1|drug/family it is only because I wanted to specify that > family is nested within drug. Then yo

Re: [R] nested random factor using lme produces errors

2013-02-17 Thread melswed
I understand. I want to specify that drug is only a fixed factor and family should be the only random factor. So maybe, my R code is wrong If I specify random=~1|drug/family it is only because I wanted to specify that family is nested within drug. -- View this message in context: http://r.7

Re: [R] nested random factor using lme produces errors

2013-02-17 Thread Ben Bolker
melswed slu.se> writes: > > Hi, > > I am running a mixed-effect model with a nested-random effect. I am > interested in gut parasites in moose. I has three different type of > treatment that I applied to moose which are from different "families". My > response variable is gut parasites and the

[R] nested random factor using lme produces errors

2013-02-17 Thread melswed
Hi, I am running a mixed-effect model with a nested-random effect. I am interested in gut parasites in moose. I has three different type of treatment that I applied to moose which are from different "families". My response variable is gut parasites and the factors are moose families which is neste