Use a for loop or something else, e.g. lapply() with predict().
To get a better answer, read and follow the posting guide linked below.
-- Bert
Bert Gunter
"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 Thu, Mar 15, 2018 at 3:18 PM, Manish Mukherjee <
manishmukherjee at hotmail.com> wrote:
> Hi All,
>
>
> Is there was where we can predict the time series for multiple items in
> one go - i mean can we run the code for any time series model over multiple
> columns using for loop or something else . If someone can provide some
> example it will be helpfull.
>
>
> Thanks & Regards
> Manish Mukherjee
>
> [[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.
>
[[alternative HTML version deleted]]