R/select-variable.R
ps_select_variable.Rd
Select Variable Columns
ps_select_variable(x, na_ignore = FALSE)
A data frame.
A flag specifying whether to ignore missing values when determining if variable.
A data frame with constant columns removed.
ps_select_variable(data.frame(x = c(1, 1), y = c(2, 1))) #> y #> 1 2 #> 2 1