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