Make numeric column of a data.frame to factor
1 | num2factorDf(data, colnames, maxfactorno = 6)
|
data |
a data.frame |
colnames |
Column names to be converted |
maxfactorno |
maximum unique value of column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.