factorise: Convert character strings to factors in a dataset

View source: R/utils.R

factoriseR 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)

RMOA documentation built on July 18, 2022, 1:05 a.m.