> Perhaps I'm missing something, but isn't the maximum of the cumulative > sum simply the last value, ie. sum(x)?
As many have mentioned, I was forgetting the negative numbers. Thanks to those who pointed that out. Hadley ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
