Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 204824

R Forecasting in Excel using the BERT console

$
0
0

Does anyone know how I can use the "forecast" function from R in Excel through the BERT console? I tried writing the following function:

Forecast.sea <- function(x,h){
  ts.data <- predict(x,h)
  return(ts.data)

}

but i got the error below.

Error in ets(object, lambda = lambda, biasadj = biasadj, allow.multiplicative.trend = allow.multiplicative.trend, : y should be a univariate time series Thanks, (-Alex)


Viewing all articles
Browse latest Browse all 204824

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>