powered by
Remove empty rows
rm_empty_rows(dataframe)
data.frame object.
data.frame
A data.frame with rows removed that only contain NA.
NA
Other NA functions: rm_na()
rm_na()
# NOT RUN { 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