A tif
(Time Index Frequency) can usually be set
either by code (a number) or by name. setDefaultFrequencies
sets particular frequencies for the tif
names "weekly",
"biweekly", "bimonthly" (also "bimonth"), "quarterly" (also "q"),
"annual" (also "a"), and "semiannual" (also "sann").
tifList
returns the map of frequency names to frequency codes.
setDefaultFrequencies(weekly = "wmonday",
biweekly = "bw1wednesday",
bimonthly = "bimonthdecember",
quarterly = "qdecember",
annual = "anndecember",
semiannual = "sanndecember",
setup = FALSE)
tifList()
A string giving the name of the particular frequency that frequency "weekly" will correspond to
Ditto for "biweekly"
Ditto for "bimonth" and "bimonthly"
Ditto for "q" and "quarterly"
Ditto for "a" and "annual"
Ditto for "sann" and "semiannual"
If TRUE
, set all of the defaults, otherwise set
only the defaults for which arguments were given. The default is
FALSE
, but see the details
A copy of the .tifList
vector.
The named vector .tifList
(returned by the function of
the same name) stored in the global enviroment contains the mapping of
frequency names to frequency codes. Running this function modifies
the tifList
vector and stores it back in the global environment.
It gets run with setup = TRUE
when the tis
package is loaded.
If you want different defaults, call the function sometime after that.