Re: [R] Using the mahalanobis( ) function

2011-03-22 Thread Tyler Rinker
SE, dims = 1) > meany [1] 9.000 5.000 6.875 > meanm<-colMeans(amm, na.rm = FALSE, dims = 1) > meanm [1] 13.000 11.625 8.875 > meano<-colMeans(aom, na.rm = FALSE, dims = 1) > meano [1] 10.125 8.500 12.500 > mahalanobis(meany,meanm,S) [1] 4.233462 > mahalanobis(meano,meanm,S

[R] Using the mahalanobis( ) function

2011-03-22 Thread Tyler Rinker
9.000 5.000 6.875 > meanm<-colMeans(amm, na.rm = FALSE, dims = 1) > meanm [1] 13.000 11.625 8.875 > meano<-colMeans(aom, na.rm = FALSE, dims = 1) > meano [1] 10.125 8.500 12.500 > mahalanobis(meany,meanm,S) [1] 4.233462 > mahalanobis(meano,meanm,S) [1] 3.857911 From: tyl

Re: [R] Using the mahalanobis( ) function

2011-03-21 Thread Tyler Rinker
> mmean<-mean(amm) > omean<-(aom) > mahalanobis(aym,amm,S) [1] 8.223093 18.633617 9.838251 6.301238 7.958673 4.707784 2.547173 6.671211 Warning message: In sweep(x, 2, center) : STATS is longer than the extent of 'dim(x)[MARGIN]' From: tyler_rin...@hotmail.com To: r-hel

[R] Using the mahalanobis( ) function

2011-03-21 Thread Tyler Rinker
Hello all, I am a 2 month newbie to R and am stumped. I have a data set that I've run multivariate stats on using the manova function (I included the data set). Now it comes time for a table of effect sizes with significance. The univariate tests are easy. Where I run into trouble filling

Re: [R] Using the Mahalanobis Function

2011-03-20 Thread Tyler Rinker
rin...@hotmail.com > To: r-help@r-project.org > Date: Sun, 20 Mar 2011 01:53:47 -0400 > Subject: [R] Using the Mahalanobis Function > > > > > > Hello all, > > I am a 2 month newbie to R and am stumped. I have a data set that I've run > multivariate stats

[R] Using the Mahalanobis Function

2011-03-19 Thread Tyler Rinker
Hello all, I am a 2 month newbie to R and am stumped. I have a data set that I've run multivariate stats on using the manova function (I included the data set). Now it comes time for a table of effect sizes with significance. The univariate tests are easy. Where I run into trouble fill