Skip to content
Prev 285309 / 398502 Next

finding the subscript of a vector fulfiiling a given condition

galemago wrote
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.