Description Usage Arguments Value Examples
Determine if a variable should be of factor class
1 | check.factor(data, check.levels = F, threshold = 10)
|
data |
A dataframe |
check.levels |
Boolean indicating whether we
want to transform dataset ( |
A dataframe where some columns have been converted to factor class or a named vector where potential factor variables are associated with number of levels they would have if converted
1 2 3 4 | ## Not run:
check.factor(df_FAO,check.levels = T)
df <- check.factor(df_FAO)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.