1

I have the following data frame in R

   L1 L2        L3        L4       L5 L6 L7
1  0  0 0.0000000 0.7142857 0.2857143  0  0
2  0  0 0.1052632 0.8947368 0.0000000  0  0
3  0  0 1.0000000 0.0000000 0.0000000  0  0
4  0  0 0.0000000 1.0000000 0.0000000  0  0
5  0  0 0.0000000 0.0000000 1.0000000  0  0
6  0  0 0.0000000 0.0000000 0.0000000  0  0
7  0  0 0.0000000 0.0000000 1.0000000  0  0

I need to change the values of 1.0000000 by 0.

LuisMoncayo
  • 125
  • 2
  • 9

0 Answers0