aboutsummaryrefslogtreecommitdiff
path: root/R/plot.mkinfit.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-11-12 13:44:17 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2014-11-12 13:44:17 +0100
commit401570aa9e58c4a2f2e939f37f496453d97d3f33 (patch)
tree27fbf0df9896c251506e084e0971fb26cda6da9a /R/plot.mkinfit.R
parentb4d253edcf71fbf4175bc73cdb9593eea816c358 (diff)
parent3516b626be1aeb639d0735e79449424d2e987d7a (diff)
Merge branch 'master' into iore
Diffstat (limited to 'R/plot.mkinfit.R')
-rw-r--r--R/plot.mkinfit.R2
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))
}

Contact - Imprint