3
Let’s say I have a 6x5 data.frame, for example:
print(Dados)
Linha A B C D E
L1 4 3 NA 2 4
L2 1 NA 1 NA 1
L3 NA NA 2 3 4
L4 2 4 5 NA 9
But I want to replace the "NA" values of the data.frame with Zeros, for example:
Linha A B C D E
L1 4 3 0 2 4
L2 1 0 1 0 1
L3 0 0 2 3 4
L4 2 4 5 0 9
How can I replace variables with NA values by ZERO within my date frame.?
Thank you for the answer I will test.
– Izak Mandrak