[R] Identifying matched groups based on a rule

Ala' Jaouni ajaouni at gmail.com
Thu May 7 09:52:03 CEST 2015


I'm trying to create a table like below for a data set representing one
test and indexed by five categories.

Categories are grouped into a number of buckets (three in this case: A, B,
C) based on the level at which the difference between groups is significant

Category,  Group,  Mean
1,  A,  94.9
2,  A,  94.8
3,  A+B,  93.4
4,  B+C,  91.4
5,  C,  91.1

Is there a way to do this in R?


	[[alternative HTML version deleted]]

More information about the R-help mailing list