n_uniq-methods: Compute the number of unique elements

Description Usage Arguments Value Examples

Description

Compute the number of unique elements

Usage

1
n_uniq(obj)

Arguments

obj

object to compute distinct elements

Value

the number of uniq elements

Examples

1
 n_uniq(c(2, 3 ,2))

dirmeier/rutil documentation built on Sept. 24, 2019, 8:15 a.m.