summaryrefslogtreecommitdiff
path: root/R/predict.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/predict.R')
-rw-r--r--R/predict.R1
1 files changed, 1 insertions, 0 deletions
diff --git a/R/predict.R b/R/predict.R
index 67ed8d0..01a5fc9 100644
--- a/R/predict.R
+++ b/R/predict.R
@@ -98,6 +98,7 @@ predict.estpoly <- function(x,newdata=NULL,nahead=1){
#' @import ggplot2 reshape2
#' @export
compare <- function(data,nahead=1,...){
+ loadNamespace("ggplot2")
# Input Validation
input_list <- as.list(substitute(list(...)))[-1]
dots <- list(...)