unfactor: Change factors to characters

Description Usage Arguments Examples

Description

Change factors to characters in a dataframe

Usage

1

Arguments

df

The dataframe you wish to change the factors into characters

Examples

1
2
3
4
df <- data.frame(a = letters[1:5], x = 1:5, y = LETTERS[1:5], stringsAsFactors = TRUE)
str(df)
df <- unfactor(df)
str(df)

Dasonk/Dmisc documentation built on May 6, 2019, 1:36 p.m.