Skip to contents

Count numbers of each members

Usage

countReplicate(group.vec)

Arguments

group.vec

Vector of members.

Value

vector

Examples

countReplicate(c('a','b','b','c','c','c','a','d','d'))
#> [1] 1 1 2 1 2 3 2 1 2