Re: [R] Mancova with R

2013-04-17 Thread peter dalgaard
On Apr 17, 2013, at 16:47 , Rémi Lesmerises wrote: > Dear all, > > I'm trying to compare two sets of variables, the first set is composed > exclusively of numerical variables and the second regroups factors and > numerical variables. I can't use a Manova because of this inclusion of > numeric

Re: [R] Mancova with R

2013-04-17 Thread John Fox
ox > À : Rémi Lesmerises > Cc : "r-help@r-project.org" > Envoyé le : mercredi 17 avril 2013 10h54 > Objet : Re: [R] Mancova with R > > > Dear Remi, > > Take a look at the Anova() function in the car package. In your case, yo

Re: [R] Mancova with R

2013-04-17 Thread Rémi Lesmerises
esmeri...@yahoo.ca De : John Fox À : Rémi Lesmerises Cc : "r-help@r-project.org" Envoyé le : mercredi 17 avril 2013 10h54 Objet : Re: [R] Mancova with R Dear Remi, Take a look at the Anova() function in the car package. In your case, you could use Anova(lm(as.matrix(Y) ~ 

Re: [R] Mancova with R

2013-04-17 Thread John Fox
Dear Remi, Take a look at the Anova() function in the car package. In your case, you could use Anova(lm(as.matrix(Y) ~ x + z)) or, for more detail, summary(Anova(lm(as.matrix(Y) ~ x + z))) I hope this helps, John John Fox Sen. William McMas

[R] Mancova with R

2013-04-17 Thread Rémi Lesmerises
Dear all, I'm trying to compare two sets of variables, the first set is composed exclusively of numerical variables and the second regroups factors and numerical variables. I can't use a Manova because of this inclusion of numerical variables in the second set. The solution should be to perform