Displaying 1 result from an estimated 1 matches for "tp3004132p3005894".
2010 Oct 20
2
removing rows from a matrix using condition within groups
I am needing some help in removing certain rows in a data.matrix and then do
some calculation. So Iam need to removing certain values above a threshold
or value from another vector.
For eg.. in the below data matrix X there are 6 groups (A, B, C, D, E ,F)
>X
rows groups values
1 A 1.2
2 A 0.2
3 A 6
4 A 0.5
5 A 22
6 B 0.2
7 B 1
8 C 0.5
9 D 5
10 D 4
11 D 40
12 E 0.3
13 E 0.5
14 E 1
15 E 1.1
16