uniquevalsperfeat: Unique values per feature

View source: R/df_ops.R

uniquevalsperfeatR Documentation

Unique values per feature

Description

Get number of unique values per features

Usage

uniquevalsperfeat(x, excludeNA = FALSE)

Arguments

x

matrix or data frame input

excludeNA

Logical: If TRUE, exclude NA values from unique count.

Value

Vector, integer of length NCOL(x) with number of unique values per column/feature

Author(s)

E.D. Gennatas

Examples

## Not run: 
uniquevalsperfeat(iris)

## End(Not run)

egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.