Description Usage Arguments Value Examples
Given Dailies, return the five(5) day moving average (called a "weekly") with an Observation data on Fridays that are published on the following Thursdays.
1 | stLouisFEDdaily2Weekly(x, Level)
|
x |
xts object of Dailies. |
Level |
String. Default is "Levels" Other choices are "ChangeInLevels" and "ChangeInLogLevels." |
Modified xts object
1 2 3 4 5 | ## Not run:
DGS2 <- quantmod::getSymbols("DGS2", src = "FRED", auto.assign = F)
DGS2 <- stLouisFEDdaily2Weekly(DGS2, Level = "ChangeInLevels")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.