Skip to content

R package Forecast

2 messages · nejc bergant, Dennis Murphy

#
Hi:

Your object b is a 5 x 12 matrix. The error message says that ets() is
expecting a univariate time series as its first argument.
Try something like

d <- ts(a[, 3], start = c(2005, 1), frequency = 12)
fit <- ets(d)

and see if that works. Untested since no reproducible example was provided.

HTH,
Dennis
On Wed, Jun 29, 2011 at 6:15 AM, nejc bergant <nbergant at gmail.com> wrote: