[R] Code to fetch summary info from vector
gybrg at leeds.ac.uk
Tue Jan 15 17:16:11 CET 2013
Thanks in advance for any help.
I have a vector "b":
Imagine b is river flow throughout time.
I would like some code that will generate the following information:
number of individual 'periods' where b>1 (= 2 in this case)
period 1 length = 5, max = 4
period 2 length = 8, max = 5
I can't figure anything useful out.
School of Geography
University of Leeds
More information about the R-help