0

Basically, there has been a data entry mistake in my data. It's the record of patients where data is collected and recorded twice from the same patient (assume no time series complexity). However, in this process, the Gender, Age and Patient's ID is not replicated for the second entry of his/her medical record. As a result, half the dataset has "NA" in the above mentioned variables. I just need a code which pastes the prior entry in these variables in place of the NA values. Thanks a lot.

0 Answers0