How can I print the row name if the maximum value is 2 times higher than median value of the rest of the values.
input
name s1 s2 s3 g1 20.17 0.21 0.57 g2 0.19 0.19 94.0 g3 0.15 0.21 0.26 g4 0.09 0.19 0.16 g5 0.019 0.19 0 g7 2.28 0 0 output
g1 s1 20.17 g2 s3 94.0 g7 s1 2.28
0.28come in 2 times higher than0?