tfexpand {tframe}R Documentation

Expand a Tframe or Tframed Object.

Description

Expand a tframe or tframed object.

Usage

    tfexpand(x, add.start=0, add.end=0)
    tfexpand(x, start, end)
    tfexpand.tframe(x, add.start=0, add.end=0)
    tfexpand.tframe(x, add.start=0, add.end=0)
    tfexpand.tframe(x, add.start=0, add.end=0)

    tftruncate(x, start=NULL, end=NULL)
    tftruncate(x, start=NULL, end=NULL)
    tftruncate.tframe(x, start=NULL, end=NULL)
    tftruncate.tframe(x, start=NULL, end=NULL)
    tftruncate.tframe(x, start=NULL, end=NULL)

Arguments

x A tframe or tframed object.
start An integer indicating the position at which the new tframe is to start.
end An integer indicating the position at which the new tframe is to end.

Details

These functions are like tfwindow but use position indicators (rather than dates) and work with the tframe or tframed data. They are low level utilities for other functions.

Value

A tframe or tframed object.

See Also

tfwindow tframed

Examples

    tframe(tftruncate(ts(rnorm(100), start=c(1982,1), frequency=12), start=5))