Entering edit mode
2.5 years ago
Ap1438
▴
50
I have a file with arrangement shown below
A 0.5 0.2 0.4 0.8 0.3
B 0.2 0.8 0.7 0.0 0.6
C 0.8 0.2 0.1 0.4 0.7
And so on with around 8000 columns.
Now i don't know how to subtract these values in the column from 1 i.e.
Results
A 0.5 0.8 0.6 0.2 0.7
B 0.8 0.2 0.3 1.0 0.4
C 0.2 0.8 0.9 0.6 0.3
Please help me out solving this issue?
Your post is confusing esp expected output.
Thank you for your quick suggestion.
So, if the input is like
A 0.4
Then what i want is
A 0.6
And that is 1-0.4 =0.6 .
Hope i cleared the confusion.