multiseq {eatTools}R Documentation

multiple sequences

Description

creates a sequence for every unique value in a vector

Usage

multiseq(v)

Arguments

v

a vector

Value

a vector with multiple sequences

Author(s)

Martin Hecht

Examples

v <- c("a", "a", "a", "c", "b", "b" , "a")
multiseq(v)

[Package eatTools version 0.6.0 Index]