basis: Optional tis attributes

Description Usage Arguments Details Value References See Also

View source: R/convert.R

Description

tis series have (sometimes implicit) basis and observed attributes, used when aggregating or disaggregating to different frequencies.

Usage

1
2
3
4
basis(x)
basis(x) <- value
observed(x)
observed(x) <- value

Arguments

x

a tis series

value

a character string, see the details

Details

These (optional) attributes of a tis series are used when converting a series from one frequency to another.

A series basis is "business" or "daily", indicating whether the data values in a series are associated with a 5-day business week or a 7-day calendar week.

The observed attribute of series is one of the following:

annualized

Specifies that each time series value is the annualized sum of observations made throughout the associated time interval. For time scale conversion and totaling purposes, this attribute is the same as averaged.

averaged

Specifies that each time series value is the average of the observations made throughout the associated time interval.

beginning

Specifies that each time series value represents a single observation made at the beginning of the associated time interval.

end

Specifies that each time series value represents a single observation made at the end of the associated time interval.

formula

Specifies that the time series represents a transformation of other series. For time scale conversion and totaling purposes, this attribute is the same as averaged.

high

Specifies that each time series value is the maximum value for the time interval.

low

Specifies that each time series value is the minimum value for the time interval.

summed

Specifies that each time series value is the sum of observations made throughout the associated time interval.

Value

basis and observed return a character string. The assignment forms invisibly return x.

References

The FAME documentation, available from Sungard.

See Also

convert


tis documentation built on Sept. 29, 2021, 1:06 a.m.