replyr_uniqueValues: Compute number of unique values for each level in a column.

Description Usage Arguments Value Examples

View source: R/uniqueValues.R

Description

Compute number of unique values for each level in a column.

Usage

1

Arguments

x

tbl or item that can be coerced into such.

cname

name of columns to examine, must not be equal to 'replyr_private_value_n'.

Value

unique values for the column.

Examples

1
2
d <- data.frame(x=c(1,2,3,3))
replyr_uniqueValues(d,'x')

WinVector/replyr documentation built on Oct. 22, 2020, 8:07 p.m.