n.records {iid.test}R Documentation

n.records

Description

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.

Usage

n.records(y)

Arguments

y A vector.

Value

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.

Author(s)

R.E. Benestad

Examples

y <- rnorm(100)
n.records(y)

[Package iid.test version 0.7 Index]