NA is treated as missing value.
NA.whole.prob(data)
must be dataframe or matrix
proportion of missing value in the whole dataframe
# NOT RUN { df = data.frame(x=rep(c(1,NA,2,NA,6,NA),10), y=rep(c(1,NA,2),20)) NA.whole.prob(df) # }
Run the code above in your browser using DataLab