[R] Establishing dates in Time Series Data

Jeff Reichman reichmanj at sbcglobal.net
Thu Sep 22 04:20:35 CEST 2016


R-Help Forum

 

I'm working with a time series data set whose times periods are days of the
year.  While it's pretty straight forward of how, for example, to start my
series on (say) January 2015,but  how do I write the code such that my time
series starts on (say) the 3rd of Jan 2015?

 

> Mytsdata <-  ts(variable, frequency=12, start=c(2015,1))  

 

Jeff


	[[alternative HTML version deleted]]



More information about the R-help mailing list