dect_fac: Detect factors whether the factor is truly a character.

Description Usage Arguments Value Examples

Description

Detect factors whether the factor is truly a character.

Usage

1

Arguments

x

factor

Value

character

Examples

1
2
3
4
5
6
7
8
a<-factor(c("1", "2", "3"))
b<-factor(c("1","2","2"))

# It is a chracter not factor
dect_fac(a)

# It is a factor
dect_fac(b)

xinyaofan/foofactors documentation built on May 29, 2019, 2:29 p.m.