Description Usage Arguments Value See Also Examples
View source: R/remove_empties.R
Removes all rows and/or columns from a data.frame or matrix that
are composed entirely of NA
values.
1 | remove_empty(dat, which = c("rows", "cols"), quiet = TRUE)
|
dat |
the input data.frame or matrix. |
which |
one of "rows", "cols", or |
quiet |
Should messages be suppressed ( |
Returns the object without its missing rows or columns.
remove_constant()
for removing
constant columns.
Other remove functions:
remove_constant()
1 2 | # not run:
# dat %>% remove_empty("rows")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.