From b4739ba14c5472a23cb3e334d55989f7fbb0afe2 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 28 Apr 2014 17:59:10 +0200 Subject: Option to add residual plot to plot.mkinfit --- man/plot.mkinfit.Rd | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'man/plot.mkinfit.Rd') diff --git a/man/plot.mkinfit.Rd b/man/plot.mkinfit.Rd index 4ae82a50..7009e7d7 100644 --- a/man/plot.mkinfit.Rd +++ b/man/plot.mkinfit.Rd @@ -12,10 +12,13 @@ \method{plot}{mkinfit}(x, fit = x, obs_vars = names(fit$mkinmod$map), xlab = "Time", ylab = "Observed", - xlim = range(fit$data$time), ylim = c(0, max(fit$data$observed, na.rm = TRUE)), + xlim = range(fit$data$time), + ylim = "default", col_obs = 1:length(fit$mkinmod$map), pch_obs = col_obs, lty_obs = rep(1, length(fit$mkinmod$map)), - add = FALSE, legend = !add, lpos = "topright", inset = c(0.05, 0.05), ...) + add = FALSE, legend = !add, + show_residuals = FALSE, maxabs = "auto", + lpos = "topright", inset = c(0.05, 0.05), \dots) } \arguments{ \item{x}{ @@ -56,6 +59,13 @@ \item{legend}{ should a legend be added to the plot? } + \item{show_residuals}{ + should residuals be shown in the lower third of the plot? + } + \item{maxabs}{ + Maximum absolute value of the residuals. This is used for the scaling of + the y axis and defaults to "auto". + } \item{lpos}{ position of the legend. Passed to \code{\link{legend}} as the first argument. } -- cgit v1.2.1