| rm_empty_col | R Documentation | 
This function removes columns filled with NA or 0 from a dataframe.
rm_empty_col(x)
| x | A dataframe | 
This function is mainly used inside other functions, to remove optional variables when they are not opted in.
a dataframe.
Sollano Rabelo Braga sollanorb@gmail.com
library(forestmangr)
library(dplyr)
data("exfm15")
head(exfm15)
exfm15 %>% 
mutate(emptycol=NA) %>% 
rm_empty_col
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.