unique_columns: List columns with unique values for every row.

View source: R/rattleng.R

unique_columnsR Documentation

List columns with unique values for every row.

Description

Identify columns with unique values for each row in the supplied dataset.

Usage

unique_columns(tbl)

Arguments

tbl

A data frame or tibble.

Details

A function to return a list of the names of those columns which have a unique value for each row in the dataset, excluding real valued columns. This is used by Rattle V6 to identify potential identifier variables.


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