exuber (version 0.3.0)

index.radf: Retrieve/Replace the index

Description

Retrieve or replace the index of an radf object.

Usage

# S3 method for radf
index(x, trunc = FALSE, ...)

# S3 method for radf index(x) <- value

Arguments

x

An object of class radf()

trunc

default FALSE. If TRUE the index formed by truncating the value in the minimum window.

...

Further arguments passed to methods.

value

An ordered vector of the same length as the `index' attribute of x.

Details

If the user does not specify an index for the estimation a pseudo-index is generated which is a sequential numeric series. After the estimation, the user can use index to retrieve or `index<-` to replace the index. The index can be either numeric or Date.