% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.R
\name{compare}
\alias{compare}
\title{Compare the measured output and the predicted output(s)}
\usage{
compare(data, nahead = 1, ...)
}
\arguments{
\item{data}{validation data in the form of an \code{idframe} object}

\item{nahead}{number of steps ahead at which to predict (Default:1). For infinite-
step ahead predictions, supply \code{Inf}.}

\item{\ldots}{models whose predictions are to be compared}
}
\description{
Plots the output predictions of model(s) superimposed over validation data, 
data, for comparison.
}
\examples{
data(arxsim)
compare(data,nahead=Inf,mod1,mod2,mod3)

}
\seealso{
\code{\link{predict.estpoly}} for obtaining model predictions
}