x
Computes the number of lower records of the cumulative sum of x
num_records_down(x)
a vector of sample values
the number of lower records