Count class observations Creates a new data frame with two columns, listing the classes present in the input data frame, and the number of observations for each class.
count_classes.Rd
Count class observations Creates a new data frame with two columns, listing the classes present in the input data frame, and the number of observations for each class.
Arguments
- data_frame
A data frame or data frame extension (e.g. a tibble).
- class_col
Unquoted column name of column containing class labels.