diff options
-rw-r--r-- | R/plot.mkinfit.R | 3 | ||||
-rw-r--r-- | man/plot.mkinfit.Rd | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/R/plot.mkinfit.R b/R/plot.mkinfit.R index fa1d805c..fc8ecf74 100644 --- a/R/plot.mkinfit.R +++ b/R/plot.mkinfit.R @@ -25,7 +25,8 @@ plot.mkinfit <- function(x, fit = x, xlab = "Time", ylab = "Observed", xlim = range(fit$data$time), ylim = c(0, max(fit$data$observed, na.rm = TRUE)), col_obs = 1:length(fit$mkinmod$map), - pch_obs = col_obs, lty_obs = 1, + pch_obs = col_obs, + lty_obs = rep(1, length(fit$mkinmod$map)), add = FALSE, legend = !add, ...) { solution_type = fit$solution_type diff --git a/man/plot.mkinfit.Rd b/man/plot.mkinfit.Rd index 56ee551f..7c23eb89 100644 --- a/man/plot.mkinfit.Rd +++ b/man/plot.mkinfit.Rd @@ -11,7 +11,8 @@ \usage{ \method{plot}{mkinfit}(x, fit = x, xlab = "Time", ylab = "Observed", xlim = range(fit$data$time), ylim = c(0, max(fit$data$observed, na.rm = TRUE)), - col_obs = 1:length(fit$mkinmod$map), pch_obs = col_obs, lty_obs = 1, + col_obs = 1:length(fit$mkinmod$map), pch_obs = col_obs, + lty_obs = rep(1, length(fit$mkinmod$map)), add = FALSE, legend = !add, ...) } \arguments{ |