Learn R Programming

tframePlus (version 2024.2-1)

tframe.xts: xts Methods for tframe

Description

Methods to extend tframe of xts series

Usage


    # S3 method for xtstframe
tfstart(x)

    # S3 method for xtstframe
tfend(x)
    # S3 method for xts
Tobs(x)
    # S3 method for xts
tframe(x)
    # S3 method for xtstframe
tfSet(value, x) 
    # S3 method for xts
tfwindow(x, tf=NULL, start=tfstart(tf), end=tfend(tf), warn=TRUE)
    # S3 method for xts
tfL(x, p = 1)
    # S3 method for xts
tfExpand(x, add.start = 0, add.end = 0)

Value

Depends

Arguments

x

a tframe or a tframed object.

value

a tframe.

start

A start date of a format compatible with the time series

end

An end date of a format compatible with the time series

tf

A tframe or tframed object

p

number of periods to lag

add.start

number of periods to add to the start

add.end

number of periods to add to the end

warn

A logical indicating if warning should be produced

Details

These methods extend tframe generics.

See Also

tframe, tfwindow tfstart, tfend tftime time time.tframed