factorsAsStrings | R Documentation |
This function produces the opposite as the stringsAsFactors
argument in the data.frame
or read.table
functions;
it converts factors
columns to characters
.
factorsAsStrings(x)
x |
A |
A data.frame
where factors
are converted to
characters
.
Laurent Gatto
data(iris)
str(iris)
str(factorsAsStrings(iris))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.