Displaying 1 result from an estimated 1 matches for "tp3650295p3650295".
2011 Jul 06
3
identifying a 'run' in a vector
...39;?
I would like for it to return elements 1:8... there may be ordered values
after 1:8, but those are not of interest.
x <- c(1, 2, 3, 4, 5, 6, 7, 8, 20, 21, 22, 45)
Thanks for any suggestions.
--
View this message in context: http://r.789695.n4.nabble.com/identifying-a-run-in-a-vector-tp3650295p3650295.html
Sent from the R help mailing list archive at Nabble.com.