diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2014-11-12 13:44:17 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2014-11-12 13:44:17 +0100 |
commit | 401570aa9e58c4a2f2e939f37f496453d97d3f33 (patch) | |
tree | 27fbf0df9896c251506e084e0971fb26cda6da9a /R/plot.mkinfit.R | |
parent | b4d253edcf71fbf4175bc73cdb9593eea816c358 (diff) | |
parent | 3516b626be1aeb639d0735e79449424d2e987d7a (diff) |
Merge branch 'master' into iore
Diffstat (limited to 'R/plot.mkinfit.R')
-rw-r--r-- | R/plot.mkinfit.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/plot.mkinfit.R b/R/plot.mkinfit.R index 4132d96c..31746fb8 100644 --- a/R/plot.mkinfit.R +++ b/R/plot.mkinfit.R @@ -31,7 +31,7 @@ plot.mkinfit <- function(x, fit = x, { if (add && show_residuals) stop("If adding to an existing plot we can not show residuals") - if (ylim == "default") { + if (ylim[[1]] == "default") { ylim = c(0, max(subset(fit$data, variable %in% obs_vars)$observed, na.rm = TRUE)) } |