powered by
Removes all columns from a data.frame that are composed entirely of NA values.
NA
remove_empty_cols(dat)
the input data.frame.
Returns the data.frame with no empty columns.
# NOT RUN { # not run: # dat %>% remove_empty_cols # }
Run the code above in your browser using DataLab