Skip to contents

Columns that have all unique values or a single (constant) value are not included in the output, since any two such columns are trivially bijective. If there are no identified columns, it will return an empty list.

Usage

cols_bijective(data)

Arguments

data

The data frame

Value

A list of character vectors of bijective columns.

Examples

cols_bijective(OrchardSprays)
#> → No bijective columns.
#> list()