find_fewest_levels: Identify the categoric columns with the fewest values.

View source: R/rattleng.R

find_fewest_levelsR Documentation

Identify the categoric columns with the fewest values.

Description

Return the name of the categoric columns with the fewest values.

Usage

find_fewest_levels(df)

Arguments

df

A data frame.

Details

A function to identify the categorical column with the fewest unique values This is used by Rattle V6 to identify potential target variables.


rattle documentation built on Feb. 9, 2026, 1:07 a.m.