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 = "bw2wednesday",
bimonthly = "bimonthdecember",
quarterly = "qdecember",
annual = "anndecember",
semiannual = "sanndecember",
setup = FALSE)
tifList()
TRUE
, set all of the defaults, otherwise set
only the defaults for which arguments were given. The default is
FALSE
, but see the details.tifList
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 fame
package is loaded.
If you want different defaults, call the function sometime after that.tifName