summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/predict.R2
-rw-r--r--man/compare.Rd2
2 files changed, 2 insertions, 2 deletions
diff --git a/R/predict.R b/R/predict.R
index 76f34fb..20c3af8 100644
--- a/R/predict.R
+++ b/R/predict.R
@@ -89,7 +89,7 @@ predict.estpoly <- function(x,newdata=NULL,nahead=1){
#'
#' @examples
#' data(arxsim)
-#' compare(data,nahead=1,mod1,mod2,mod3)
+#' compare(data,nahead=Inf,mod1,mod2,mod3)
#'
#' @seealso \code{\link{predict.estpoly}} for obtaining model predictions
#' @import ggplot2 reshape2
diff --git a/man/compare.Rd b/man/compare.Rd
index f8cde79..28e91c7 100644
--- a/man/compare.Rd
+++ b/man/compare.Rd
@@ -20,7 +20,7 @@ data, for comparison.
}
\examples{
data(arxsim)
-compare(data,nahead=1,mod1,mod2,mod3)
+compare(data,nahead=Inf,mod1,mod2,mod3)
}
\seealso{