nunique: Number of unique values.

View source: R/utils.r

nuniqueR Documentation

Number of unique values.

Description

Calculate number of unique values of a variable as efficiently as possible.

Usage

nunique(x)

Arguments

x

vector


plyr documentation built on Oct. 2, 2023, 9:07 a.m.