powered by
blank2NA(dataframe, missing = NA)
rm_row
set.seed(15) dat <- data.frame(matrix(sample(c(month.abb[1:4], ""), 50, TRUE), 10, byrow = TRUE), stringsAsFactors = FALSE) dat blank2NA(dat)
Run the code above in your browser using DataLab