phani kishan
2010-Jun-22 14:26 UTC
[R] Applying forecast functions to columns in a data frame
Hey, I have a list of 30 odd time-series (products) in columns of a data-frame. I want to apply time-series forecasting functions across all the columns of the data-frame in order to determine which is the best model to use. How do I go about this? Phani [[alternative HTML version deleted]]
Henrique Dallazuanna
2010-Jun-22 14:32 UTC
[R] Applying forecast functions to columns in a data frame
Try this: lapply(DF, auto.arima) On Tue, Jun 22, 2010 at 11:26 AM, phani kishan <phanikishan@gmail.com>wrote:> Hey, > I have a list of 30 odd time-series (products) in columns of a data-frame. > I want to apply time-series forecasting functions across all the columns of > the data-frame in order to determine which is the best model to use. > How do I go about this? > > Phani > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > 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. >-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]