[R] Establishing dates in Time Series Data
David Winsemius
dwinsemius at comcast.net
Thu Sep 22 05:31:12 CEST 2016
> On Sep 21, 2016, at 7:20 PM, Jeff Reichman <reichmanj at sbcglobal.net> wrote:
>
> 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))
>
Wouldn't this require a frequency that matched the number of days in a year?
--
David
>
>
> Jeff
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list