has_factors {tester} | R Documentation |
Has factors?
Description
Whether a data frame or list has factors
Usage
has_factors(x)
Arguments
x |
an R object |
Examples
has_factors(iris) # TRUE
has_factors(iris[,1:4]) # FALSE
has_factors(list(iris$Species, 1:150)) # TRUE
[Package tester version 0.2.0 Index]