data_unlabel | R Documentation |
Coerces factor
and ordered
variables to class integer
.
data_unlabel(x, variables = names(x)[sapply(x, inherits, what = "factor")])
x |
A |
variables |
Column names of |
A data.frame
.
## Not run:
if(interactive()){
df <- data.frame(x = factor(c("a", "b")))
data_unlabel(df)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.