Extract vector elements until cumsum <= x
Thanks a lot, everybody! I've been working with these data for a while, and didn't realize that some of my assumptions lead me to leave out some important info. Specifically, that the vector contains time values of intervals between adjacent events, and so are always positive. Thanks again for your help Dgnn
View this message in context: http://n4.nabble.com/Extract-vector-elements-until-cumsum-x-tp998023p998420.html Sent from the R help mailing list archive at Nabble.com.