I have a monthly xts object, and the function frequency()
returns a value of 1, however I would expect 12. The function cycle()
also does not return month numbers, but instead a value of 1 for each observation.
library('quantmod')
getSymbols("GS10", src="FRED")
frequency(GS10)
cycle(GS10)