https://github.com/cran/dse
Tip revision: 9613a94196ef7568441486bf322284e4b3b332af authored by Paul Gilbert on 14 August 2012, 00:00:00 UTC
version 2012.6-1
version 2012.6-1
Tip revision: 9613a94
forecasts.Rd
\name{forecasts}
\alias{forecasts}
\alias{forecasts.forecast}
\alias{forecasts.featherForecasts}
\alias{forecasts.horizonForecasts}
\title{Extract Forecasts}
\description{Extract forecasts from and object.}
\usage{
forecasts(obj)
\method{forecasts}{forecast}(obj)
\method{forecasts}{featherForecasts}(obj)
\method{forecasts}{horizonForecasts}(obj)
}
\arguments{
\item{obj}{An object which contains forecasts.}
}
\value{The forecasts from an object which contains forecasts.}
\details{
This generic method extracts the forecasts (only) from objects returned
by other methods that calculate forecasts. Usually the objects returned
by the methods which calculate forecasts contain additional
information which is not returned by this extractor.
}
\seealso{
\code{\link{forecast}}
}
\examples{
data("egJofF.1dec93.data", package="dse")
model <- estVARXls(window(egJofF.1dec93.data, end=c(1985,12)))
pr <- forecast(model, conditioning.inputs=inputData(egJofF.1dec93.data))
z <- forecasts(pr)
}
\concept{DSE}
\keyword{ts}