| basis {tis} | R Documentation |
Optional tis attributes
Description
tis series have (sometimes implicit) basis and
observed attributes, used when aggregating or disaggregating to
different frequencies.
Usage
basis(x)
basis(x) <- value
observed(x)
observed(x) <- value
Arguments
x |
a |
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:
annualizedSpecifies 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.
averagedSpecifies that each time series value is the average of the observations made throughout the associated time interval.
beginningSpecifies that each time series value represents a single observation made at the beginning of the associated time interval.
endSpecifies that each time series value represents a single observation made at the end of the associated time interval.
formulaSpecifies that the time series represents a transformation of other series. For time scale conversion and totaling purposes, this attribute is the same as averaged.
highSpecifies that each time series value is the maximum value for the time interval.
lowSpecifies that each time series value is the minimum value for the time interval.
summedSpecifies 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.