see ?rle
url:www.econ.uiuc.edu/~rogerRoger Koenker
email[EMAIL PROTECTED]Department of Economics
vox: 217-333-4558University of Illinois
fax: 217-244-6678Champaign, IL 61820
On Jan 12, 2006, at 9:56 AM, Mark Leeds wrote:
I have a vector x with #'s ( 1 or -1 in them ) in it and I want to
"mark" a new vector with the sign of the value of the a streak
of H where H = some number ( at the next spot in the vector )
So, say H was equal to 3 and
I had a vector of
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
1