powered by
Removes rows with more than thresh NA's from matrix
removeNArows(obj, thresh = 0)
matrix or dataframe
- maximum number of NA's / row - if more the row will be removed
matrix
# NOT RUN { x = matrix(rnorm(10*10),ncol=10) dim(x) x[3,3] = NA x = removeNArows(x) dim(x) # }
Run the code above in your browser using DataLab