factorise {RMOA}R Documentation

Convert character strings to factors in a dataset

Description

Convert character strings to factors in a dataset

Usage

factorise(x, ...)

Arguments

x

object of class data.frame

...

other parameters currently not used yet

Value

a data.frame with the information in x where character columns are converted to factors

Examples

data(iris)
str(iris)
mydata <- factorise(iris)
str(mydata)

[Package RMOA version 1.1.0 Index]