diff options
Diffstat (limited to 'R/calplot.R')
-rw-r--r-- | R/calplot.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/calplot.R b/R/calplot.R index cea1149..feb9727 100644 --- a/R/calplot.R +++ b/R/calplot.R @@ -27,7 +27,7 @@ calplot.lm <- function(object, xlim = "auto", ylim = "auto", pred.lim <- predict(m, newdata, interval = "prediction",level=level) conf.lim <- predict(m, newdata, interval = "confidence",level=level) if (xlim == "auto") xlim = c(0,max(x)) - if (ylim == "auto") ylim = range(c(pred.lim,y)) + if (ylim == "auto") ylim = range(c(pred.lim,y,0)) plot(1, type = "n", xlab = xlab, |