Learn R Programming

taRifx (version 1.0.6.2)

remove.factors: Converts all factors in a data.frame to character.

Description

Converts all factors in a data.frame to character.

Usage

remove.factors(df)

Arguments

df

A data.frame

Value

data.frame

Examples

Run this code
# NOT RUN {
my.test.df <- data.frame(grp=rep(c("A","B"),10),data=runif(20))
remove.factors(my.test.df)
# }

Run the code above in your browser using DataLab