has_factors: Has factors?

Description Usage Arguments Examples

Description

Whether a data frame or list has factors

Usage

1

Arguments

x

an R object

Examples

1
2
3
has_factors(iris) # TRUE
has_factors(iris[,1:4]) # FALSE
has_factors(list(iris$Species, 1:150)) # TRUE

gastonstat/tester documentation built on May 16, 2019, 6:38 p.m.