ruidvec: String-based (continuous) unique ID runs C++

Description Usage Arguments Value Examples

Description

For a vector strings, assigns each continuous run of particular string a unique ID.

Usage

1
ruidvec(x, start = 0L)

Arguments

x

a vector of class "character"

Value

a vector of "numeric"

Examples

1
ruidvec(c("One","One","Two","Three","Three","Two","Three","Three","One"))

RyanHope/gazetools documentation built on May 9, 2019, 10:38 a.m.