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


hadley/plyr documentation built on Nov. 6, 2024, 5:54 p.m.