[R] Formatting the dates generated by the forecast function
bgunter.4567 at gmail.com
Fri Oct 6 23:54:05 CEST 2017
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Oct 6, 2017 at 11:30 AM, Paul Bernal <paulbernal07 at gmail.com> wrote:
> Dear friend, hope you are doing great,
> I have the following code:
> > myTseriesData <- ts(data[,2], start=c(2000,01), end=c(2017,9),
> > myTseriesModel <- auto.arima(myTseriesData, d=1, D=1)
> > myTseriesForecast <- forecast(myTseriesModel, h=12)
> > # I want to be able to format the dates generated by the forecast
> is there a way to change the format of the dates generated by the forecast
> function into a YYYY-mm-dd format?
> Any hint or guidance will be greatly appreciated,
> Best of regards,
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help