Displaying 1 result from an estimated 1 matches for "tp4387870p4388042".
2012 Feb 14
0
finding the subscript of a vector fulfiiling a given condition
...t; possible?
> Thanks a lot, hope to come back often in this forum,
> G.
>
How about ...
A <- c(368,369,370,371,393,394,395)
which.max(diff(A))
HTH
Pete
--
View this message in context: http://r.789695.n4.nabble.com/finding-the-subscript-of-a-vector-fulfiiling-a-given-condition-tp4387870p4388042.html
Sent from the R help mailing list archive at Nabble.com.