factor_conv: Easy coerse operator for changing character columns to vector...

Description Usage Arguments Value Examples

Description

Takes a data frame as input, checks class of each column and then converts character to factor. The function can also do the reverse - take factor to character

Usage

1
factor_conv(df, rev = F, to.num = F)

Arguments

df

data frame that needs to be coersed factors

rev

data frame that needs to be coersed to characters

Value

Coersed data.frame

Examples

1
2
3

HanjoStudy/quotidieR documentation built on May 5, 2019, 6:13 p.m.