i_as_factor {ilabelled} | R Documentation |
as factor
Description
make factor from i_labelled
Usage
i_as_factor(
x,
missing_to_na = FALSE,
require_all_labels = FALSE,
keep_attributes = FALSE
)
Arguments
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 |
Value
vector of class factor
[Package ilabelled version 0.9.0 Index]