Learn R Programming

plyr (version 1.8.9)

nunique: Number of unique values.

Description

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

Usage

nunique(x)

Arguments

x

vector