Re: [R] problems with glht for ancova

2012-01-12 Thread gaiarrido
Thanks very much - Mario Garrido Escudero PhD student Dpto. de Biología Animal, Ecología, Parasitología, Edafología y Qca. Agrícola Universidad de Salamanca -- View this message in context: http://r.789695.n4.nabble.com/problems-with-glht-for-ancova-tp4284908p4288227.html Sent from the R help

Re: [R] problems with glht for ancova

2012-01-12 Thread gaiarrido
I answer myself, perhaps it can be useful to anyone. The problem is that I tried to run a psot hoc test before i get the minimal model by deleting the interaction, if I do it: > ancova2<-aov(log(peso)~edadysexo+log(lcc)) > anova(ancova,ancova2) Res.DfRSS Df Sum of Sq F Pr(>F) 150

[R] problems with glht for ancova

2012-01-11 Thread gaiarrido
I've run an ancova, edadysexo is a factor with 3 levels,and log(lcc) is the covariate (continous variable) I get this results > ancova<-aov(log(peso)~edadysexo*log(lcc)) > summary(ancova) Df Sum Sq Mean Sq F value Pr(>F) edadysexo2 31.859 15.9294 803.9843 <2e-