Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

remove_empty_cols

Removes empty columns from a data.frame.


Description

This function is deprecated, use remove_empty("cols") instead.

Usage

remove_empty_cols(dat)

Arguments

dat

the input data.frame.

Value

Returns the data.frame with no empty columns.

Examples

# not run:
# dat %>% remove_empty_cols

janitor

Simple Tools for Examining and Cleaning Dirty Data

v2.1.0
MIT + file LICENSE
Authors
Sam Firke [aut, cre], Bill Denney [ctb], Chris Haid [ctb], Ryan Knight [ctb], Malte Grosser [ctb], Jonathan Zadra [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.