Function to remove blank rows/columns from a df
remove_blank_rows_cols.Rd
Function to remove blank rows/columns from a df
Arguments
- df
a data.frame
- convert
a logical to indicate if you want to modify
df
in the parent environment, or if not simply return a modified version ofdf
- verbose
logical to print information on changes to the global environment or external files. Defaults to options()$verbose.
- which
one of
"rows"
,"cols"
, or"both"
. Default is"both"
to removing both empty rows and empty columns.