### Name: na.handling ### Title: Handling of Missing Values ### Aliases: na.handling ### Keywords: utilities ### ** Examples mat<-matrix(1:20,5,4) mat[1,2]<-NA mat # Replace the missing value by the mean of the first row. na.handling(mat) # Remove the first row. na.handling(mat,na.replace=FALSE) # Replace the missing value in the first row by the mean of # this row, and remove the second row containing only NAs. mat[2,]<-NA mat na.handling(mat)