I have dataset in which multiple(8) variables with same class have NA values. So how do I deal with the all the variables's NA values in just one loop. I have tried with this code, but It didn't work.
It has just returned mean values for each variable present in data.
Please let me know is there any alternative way to handle such all NA values with one time.