Re: [R] Chi-square test

2017-01-23 Thread Sergio Ferreira Cardoso
sts) Response: fcl Df Chisq Pr(>Chisq) mass 1 0.1756 0.6752 activity 2 0.5549 0.7577 agility 4 3.2903 0.5105 Anyway, I have the help I was looking for. Thank you vey much. Best regards, Sérgio. - Mensagem original - > De: "Fox, John" <j...@mcmaste

[R] Anova() Chi-square test

2017-01-20 Thread Sergio Ferreira Cardoso
Dear all, Anova() for .car package retrieves Chi-square statistics when I'm testing a model the significance of a multivariate .gls model gls(x~1+2+3+x,corBrownian(phy=tree), ...). Is this Chi-square a two-sided test? Thank you. Best, Sérgio. -- Com os melhores cumprimentos, Sérgio Ferreira

[R] Chi-square test

2017-01-20 Thread Sergio Ferreira Cardoso
Dear all, Anova() for .car package retrieves Chi-square statistics when I'm testing a model the significance of a multivariate .gls model gls(x~1+2+3+x,corBrownian(phy=tree), ...). Is this Chi-square a two-sided test? Thank you. Best, Sérgio. [[alternative HTML version

[R] Mean correlation within cluster

2017-06-13 Thread Sergio Ferreira Cardoso
Hello all, I'd like to calculate the mean correlation within a cluster and understand if it's significantly >0. I'm using packages 'geomorph' and 'paleomorph'. #Simulate an array A <- array ( rep ( 1 : 36 , by = 4 ), dim = c ( 12 , 3 , 4 )) #Load 'geomorph' package and superimpose

[R] phylo.pca

2017-09-20 Thread Sergio Ferreira Cardoso
Dear all, I'm trying to use phylo.pca function from phytools for the first time. I'm using an ultrametric tree with 167 tips and all branch lengths transformed to 1. I lunched the pPCA like this: pPCA<-phyl.pca(tree,data,method = "lambda") For some reason it takes for ever and never

[R] TukeyHSD for multiple response

2018-05-25 Thread Sergio Ferreira Cardoso
Dear all, I'm testing the effect of species and sex in my sample by using the principal component scores of a PCA analysis. I have 30 PCs and I tried to see if there is any significant difference from males to females, given that there is a significant effect of phylogeny (factor with

Re: [R] TukeyHSD for multiple response

2018-05-28 Thread Sergio Ferreira Cardoso
yorku.ca> > Para: "Sergio Ferreira Cardoso" <sergio.ferreira-card...@umontpellier.fr>, > "R-help list" <r-help@r-project.org> > Enviadas: Sábado, 26 De Maio de 2018 17:28:20 > Assunto: Re: TukeyHSD for multiple response > Hi Sergio > > Do