[R] multiple groups anova
Olivier Crouzet
olivier.crouzet at univ-nantes.fr
Thu Jun 12 09:10:52 CEST 2014
Hi Stanley,
You need to convert your dataframe (it's'not a matrix obviously) to a "long format". Each measurement will then be a single line within this "table".
Each column will then be viewed as a single statistical variable. Then you will learn to apply relevant anovas on such data.
Essentially, you need to read an introduction to R.
Olivier.
--
Olivier Crouzet
LLING - Laboratoire de Linguistique de Nantes - EA3827
Université de Nantes
-----Original Message-----
From: Dragana Stanley <d.stanley at cqu.edu.au>
Sender: r-help-bounces at r-project.orgDate: Thu, 12 Jun 2014 14:21:53
To: r-help at r-project.org<r-help at r-project.org>
Subject: [R] multiple groups anova
Hi All
I have a matrix on which I want to do ANOVA between different Groups. My matrix looks something like this
Sample Group Mes1 Mes2 Mes3
sample1 Group1 10 0 5
sample2 Group1 2 0 1
sample3 Group1 2 0 1
sample4 Group1 2 0 3
sample5 Group2 6 2 1
sample6 Group2 10 1 0
sample7 Group2 4 0 10
sample8 Group2 7 0 2
sample9 Group3 7 5 2
sample10 Group3 0 4 2
sample11 Group3 3 0 6
sample12 Group3 4 0 5
where Mes1-Mes100 columns are numerous measurements (like for example different genes or sequence counts) taken on each sample
Is there simple way to do anova between different groups and effect size measure (ie summary)
Thanks
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list