has_factors: Has factors?

View source: R/has_factors.r

has_factorsR 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

tester documentation built on May 29, 2024, 7:33 a.m.