Description Usage Arguments Value Author(s) Examples
View source: R/factor2character.R
Converts all factor variables in a dataframe to character variables
| 1 | factor2character(dframe)
 | 
| dframe | A dataframe | 
The same dataframe with the factor variables converted to character variables.
Landon Sego
| 1 2 3 4 | x <- data.frame(a=factor(c(rep(1,4),rep(2,4),rep(3,4))), y=rnorm(12))
str(x)
x <- factor2character(x)
str(x)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.