I need to get the count of missing values across rows. I was able to do that using the apply function as follows:
apply
x1=c(1:5,NA,8) x2=c(1:4,NA,NA,8) da