[R-sig-ME] Another case of -1.0 correlation of random effects

Ken Knoblauch ken.knoblauch at inserm.fr
Fri Apr 9 14:40:13 CEST 2010


Kevin E. Thorpe <kevin.thorpe at ...> writes:

> My data come from a crossover trial and are balanced.
> 
>  > str(gluc)
> 'data.frame':	96 obs. of  4 variables:
>   $ Subject  : int  1 2 3 5 6 7 10 11 12 13 ...
>   $ Treatment: Factor w/ 2 levels "Barley","Oat": 1 1 1 1 1 1 1 1 1 1 ...
>   $ Dose     : int  8 8 8 8 8 8 8 8 8 8 ...
>   $ iAUC     : num  110 256 129 207 244 ...
> 

>clip>

Shouldn't you make Subject into a factor?

Ken

-- 
Ken Knoblauch
Inserm U846
Stem-cell and Brain Research Institute
Department of Integrative Neurosciences
18 avenue du Doyen Lépine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.sbri.fr/members/kenneth-knoblauch.html




More information about the R-sig-mixed-models mailing list