powered by
returns the index of values appearing only once in a vector : match(unique(a),a), replicated values are not returned on their second occurence
induk(a)
a vector
the index unique values within a vector
# NOT RUN { induk(c(1,1,2,2,2,3)) # }
Run the code above in your browser using DataLab