With a data like this (where each row has 3 data values) from Excel:
A 400 398 0
B 265 0 126
C 0 0 2
D 0 0 0
E 200 300 250
I want to do the following:
If all values are 0, keep whole row [eg. row D]
If all values are less than 70, keep whole row [eg. rows C and D]
If all values are greater than 70, keep whole row [eg. row E]
But if most of the row has values greater than 70 except for 1 or 2 values that are less than 70, change those small values to NA [eg. rows A and B]
(This is all being imported from a CSV Excel file with about 4300 rows of varying degrees of A-E)
Thank you!