vdate-class {uroot}R Documentation

"vdate" Class

Description

This class contains the times at which a time series is observed and relates those dates to their location in the sample, i.e. the number of observation they are related to.

Slots

input:
Object of class "numeric": either the year and season of an observation provided as input or the location in the sample (observation) of a date provided as the input.
output:
Object of class "matrix": either the location in the sample of a date specified in input or the date related to the observation specified in input. the year and the season.
wts:
Object of class "ts": the univariate time series.
ys:
Object of class "matrix": the year and season of an observation.
obs:
Object of class "matrix": the location in the sample of a date specified by the year and the season.
Myso:
Object of class "matrix": a matrix containing the dates and their locations in the sample at which the time series is observed.

Methods

as.numeric
signature(x = "vdate"): Coerce an object of class `vdate' to a `numeric'.
show
signature(object = "vdate"): Report the date to which a given observation is related to and vice versa.
stepdate
signature(object = "vdate"): Returns the date `x' times ahead in the sample. If that date is out of sample a message is generated.

Author(s)

Javier López-de-Lacalle javlacalle@yahoo.es and Ignacio Díaz-Emparanza Ignacio.Diaz-Emparanza@ehu.es.

See Also

Mdates.


[Package uroot version 1.4 Index]