Learn R Programming

stacomirtools (version 0.6.0.1)

induk: 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

Examples

Run this code
# NOT RUN {
induk(c(1,1,2,2,2,3))

# }

Run the code above in your browser using DataLab