powered by
Convert character strings to factors in a dataset
factorise(x, ...)
a data.frame with the information in x where character columns are converted to factors
x
object of class data.frame
other parameters currently not used yet
data(iris) str(iris) mydata <- factorise(iris) str(mydata)
Run the code above in your browser using DataLab