I am using a data frame called myData
and I am trying to clean the data. In one of the rows (in example code, row 3), there was a data entry error and B was left blank and C, D, E now contain the data for B, C, D. How can I fix this in RStudio using basic commands? I am totally stuck.
A B C D E
--------------------
1 a 3 c 2 f
2 a 2 b 1 f
3 a 2 c 1
4 a 1 b 2 f
5 b 2 c 3 e