powered by
factor_length(data1)
data.frame
factor_length(iris2)
Run the code above in your browser using DataLab