powered by
nastats(amatrix, nastr="--")
xx <- cbind(c(1,2,3),c(0,0,1),c(5,3,1)) nastats(xx,nastr=0)
Run the code above in your browser using DataLab