Thanks all for the information provided.
Is there any way I could convert an object of type mforecast (output of
forecast()) to dataframe?

On Thu, Feb 2, 2017 at 12:33 AM, Lal Prasad <lal.pra...@gmail.com> wrote:

> Hi All,
>
> Is there any way to
>
> 1) Convert the below forecast to a datafram
> 2) Any way to write it to an excel table?
>
>
> library(vars)
> library(fpp)VARselect(usconsumption, lag.max = 3, type="const")$selectionvar 
> <- VAR(usconsumption, p=1,type = "both",lag.max = 3)
> serial.test(var, lags.pt = 3,type = "PT.asymptotic")
>
> fcst <- forecast(var)
>
> Regards
>
> Lal
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to