lengthunique: Calculates the number of unique values in a vector

Description Usage Arguments Value Author(s) Examples

View source: R/lengthunique.r

Description

Calculates the number of unique values in a vector.

Usage

1

Arguments

x

A vector.

Value

The number of unique values in a vector.

Author(s)

Charles Crabtree [email protected]

Examples

1
2
x <- rep(c(1:10), 10)
lengthunique(x)

plotrr documentation built on Dec. 5, 2017, 1:05 a.m.