powered by
dfConvertColumns(x, from = "character", to = "factor")
The 'dfConvertColumns' converts all columns of a data frame with class 'from' to the class 'to'.