Retrieve or replace the index of an object.
index(x, ...)index(x) <- value
An object.
Further arguments passed to methods.
An ordered vector of the same length as the `index' attribute of x.
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.