Description Usage Arguments Value Note Examples
Conert mutually exclusive columns to a factor
1 |
data |
data to convert |
names |
names of columns in |
ordered |
logical; whether the factor should be ordered |
factor
This performs the opposite function of the dummies package.
Ensure the variables are integer or logical or can be coerced to on
Belong in dummies package
1 2 | # as.mutex( ci2, c('saltsnackyuk', 'saltsnackok', 'saltsnackyum' ), ordered=TRUE )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.