Removes NAs from matrix.
rmna(M)
M
Matrix
matrix with NAs removed.
M=array(NA, dim=c(3,3)) M[1,2]=0.9 M=rmna(M)