flattenIntVec: Flatten an integer vector

Description Usage Arguments Examples

Description

Map integers in a vector, x, to the integers from 1, ..., n, where n is the number of unique integers in x.

Usage

1

Arguments

x

vector coercible to nonnegative integers

Examples

1
flattenIntVec(rep(seq(0, 100, length = 5), 1:5))

stevencarlislewalker/lme4ord documentation built on May 30, 2019, 4:43 p.m.