induk {stacomirtools}R Documentation

unique values of a vector

Description

returns the index of values appearing only once in a vector : match(unique(a),a), replicated values are not returned on their second occurence

Usage

induk(a)

Arguments

a

a vector

Value

the index unique values within a vector

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples


induk(c(1,1,2,2,2,3))


[Package stacomirtools version 0.6.0.1 Index]