factorise {RMOA} | R Documentation |
Convert character strings to factors in a dataset
factorise(x, ...)
x |
object of class data.frame |
... |
other parameters currently not used yet |
a data.frame with the information in x
where character columns are converted to factors
data(iris)
str(iris)
mydata <- factorise(iris)
str(mydata)