Learn R Programming

fame (version 1.13)

basis: FAME time series attributes

Description

FAME time series have (sometimes implicit) basis and observed attributes.

Usage

basis(x)
basis(x) <- value
observed(x)
observed(x) <- value

Arguments

x
a tis series
value
a character string, see the details

Value

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

Details

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: rl{ 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. }

References

The FAME documentation.

See Also

getfame, putfame