time {tframe}R Documentation

Time

Description

The time coresponding to each data point.

Usage

    time(x)
    time(x)

    time.tframe(x)
    time.tframe(x)
    time.tframe(x)
    time.tframe(x)
    

Arguments

x A tframe or tframed object.

Details

This returns the time (date) of each observation, as might be used on the axis of a graph or lables of a printout.

Value

A time series of the dates of observations of x.

See Also

periods tframe

Examples

    z <- tframed(matrix(rnorm(200), 100,2), 
            tf=list(start=c(1982,1), frequency=12))
    time(z)