num_levels: Count the number of unique factor level combinations present...

Description Usage Arguments Value Examples

View source: R/data_frames.R

Description

Count the number of unique factor level combinations present in a data frame

Usage

1

Arguments

df

Data frame

...

Bare/unquoted factors of interest

Value

Integer count of unique factor level combinations

Examples

1
num_levels(iris, Species)

alexpghayes/hayeslib documentation built on Nov. 6, 2018, 10:49 p.m.