Description Usage Arguments Value See Also Examples
Identify binary variables from a data frame of mixed variable types
Comparison operator used is =
NA values do not contribute to level counts
1 | get_binary(df, lev = 2)
|
df |
data frame of mixed variable types |
lev |
number of levels desired |
data frame containing only ID and variables with the number of levels specified
Other filter functions: colfilter
,
get_categorical
, get_check
,
get_continuous
, min_cat_n
,
min_n
, remove_incomplete_obs
,
remove_outliers
, rowfilter
1 2 3 | require(NHANES)
data(NHANES)
head(get_binary(NHANES))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.