Learn R Programming

janitor (version 0.2.1)

remove_empty_rows: Removes empty rows from a data.frame.

Description

Removes all rows from a data.frame that are composed entirely of NA values.

Usage

remove_empty_rows(dat)

Arguments

dat
the input data.frame.

Value

Returns the data.frame with no empty rows.

Examples

Run this code
# called with magrittr pipe %>% :
# library(dplyr)
# not run:
# dat %>% remove_empty_rows

Run the code above in your browser using DataLab