n.records {iid.test} | R Documentation |
Number of record-events.
Reference:
Benestad, R.E., 2003: How often can we expect a record-event? Climate Research. 23, 3-13 (pdf)
Benestad, R.E., 2004: Record values, nonstationarity tests and extreme value distributions, Global and Planetary Change, vol 44, p. 11-26
The papers are available in the pdf format from http://regclim.met.no/results_iii_artref.html.
n.records(y)
y |
A vector. |
list: N= number of records, t=vector of time index corresponding to when a new record is set, events= a vector with TRUE where there is a record-event. The same fields with a suffix '.rev' represent the same analysis but for a reversed chronological order.
R.E. Benestad
y <- rnorm(100) n.records(y)