Description Usage Arguments See Also Examples
View source: R/category-variables.R
This is a convenience function to convert the expected set of numeric
category variables to factors. It's basically a wrapper for
df_factor_var
.
1 | label_categories(df, categories = c("R3", "sex", "res"), ...)
|
df |
data frame: Input data frame |
categories |
character: vector of variable names to convert to factor (if present) |
... |
additional arguments passed to |
Salic Function Reference: salic
Other functions for working with category variables: df_factor_var
,
factor_var
, recode_agecat
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.