Displaying 1 result from an estimated 1 matches for "5a45d3cd".
Did you mean:
5a45d1c
2008 Oct 08
2
detect repeated number in a vector
Dear R users,
I have this vector that consists numeric numbers. Is there a command that
detects the repeated numbers in a vector and returns the index of the
repeated numbers (or the actual numbers)? For example, v <- c(3,4,5,7,4).
The command would return me index 2 and 5 (or the repeated number, 4).
Thank you very much,
Julia
--
View this message in context: