tframed {tframe}R Documentation

Construct a Tframed Object

Description

Both functions construct a tframed object. These are generic functions. If tf is not a tframe object but has the necessary information then the default methods attempt to build a tframe.

Usage

    tframed(x, ...)
    tframed(x, tf = NULL, names = NULL)

    settf(value, x)
    settf(value, x)
    settf(value, x)

    is.tframed(x)

Arguments

x A tframed object or an object to be tframed.
tf A tframe.

Details

This constructor is like ts but enables the tframe library's generic methods for handling time.

Value

A tframed object.

See Also

tframe

Examples

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