powered by
Remove empty rows
rm_empty_rows(dataframe)
A data.frame with rows removed that only contain NA.
data.frame
NA
data.frame object.
Other NA functions: rm_na()
rm_na()
data <- rbind(c(1,2,3), c(1, NA, 4), c(4,6,7), c(NA, NA, NA), c(4, 8, NA)) rm_empty_rows(data)
Run the code above in your browser using DataLab