i_as_factor | R Documentation |
make factor from i_labelled
i_as_factor(
x,
missing_to_na = FALSE,
require_all_labels = FALSE,
keep_attributes = FALSE
)
x |
vector |
missing_to_na |
as missing declared values will become NA |
require_all_labels |
process will be interrupted, when not all values have valid labels |
keep_attributes |
should attributes be preserved |
vector of class factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.