I have problem with R like in a title. I have a data frame with 40+ rows and some kind of data in 2 columns I am interested in. What I want to do is to check if in column 2 is value or NA, and if there is NA copy value from the same row in column 1 (might be empty as well). I don't know exactly what approach should be used in this situation.
Regards, RafaĆ