From the data below and I am tryign to eliminate those that have two consecutive test above 80. How Do I go about doing My analysis? for example, in the table below, ID R45 will be excluded because it as two test above 80 consecutively (test 90 and test 100). Thanks
ID |
Date |
test |
R45 |
3/15/19 |
90 |
R45 |
4/15/19 |
100 |
R45 |
5/15/19 |
70 |
R45 |
6/15/19 |
60 |
R90 |
3/15/19 |
12 |
R90 |
4/15/19 |
120 |
R90 |
5/15/19 |
45 |
R90 |
6/15/19 |
100 |
R30 |
3/15/19 |
72 |
R30 |
4/15/19 |
28 |
R30 |
5/15/19 |
50 |
R30 |
6/15/19 |
220 |
my output would look like this
ID |
Date |
test |
R90 |
3/15/19 |
12 |
R90 |
4/15/19 |
120 |
R90 |
5/15/19 |
45 |
R90 |
6/15/19 |
100 |
R30 |
3/15/19 |
72 |
R30 |
4/15/19 |
28 |
R30 |
5/15/19 |
50 |
R30 |
6/15/19 |
220 |