Learn R Programming

tframe (version R2000.6-1)

expand: Expand a Tframe or Tframed Object.

Description

Expand a tframe or tframed object.

Usage

expand(x)
	truncate(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.

Value

  • A tframe or tframed object.

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.

See Also

tfwindow tframed

Examples

Run this code
tframe(truncate(ts(rnorm(100), start=c(1982,1), frequency=12), start=5))

Run the code above in your browser using DataLab