Displaying 1 result from an estimated 1 matches for "tp4379312p4379312".
Did you mean:
tp4379312p4379402
2012 Feb 11
2
Derive pattern from vector
...39;F', 'F', 'F')
chars_dup <- duplicated(chars)
cumsum(!chars_dup)
[1] 1 2 3 3 4 5 5 5 6 6 6
But I do not know how to treat 'F' in the way described above.
Regards
--
View this message in context: http://r.789695.n4.nabble.com/Derive-pattern-from-vector-tp4379312p4379312.html
Sent from the R help mailing list archive at Nabble.com.