drop_na_cols | R Documentation |
A wrapper with dplyr
functions to drop columns with no information (all NA
values)
drop_na_cols(x, unique = TRUE)
x |
data.frame |
unique |
logical, if TRUE (default), |
data.frame with dropped columns
x <- data.frame(a = c(1, 2, NA), b = c(NA, NA, NA), c = c(NA, 2, 3))
drop_na_cols(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.