diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2014-04-28 17:59:10 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2014-04-28 17:59:10 +0200 |
commit | b4739ba14c5472a23cb3e334d55989f7fbb0afe2 (patch) | |
tree | fc4faf095a4b45799b7f54f93cd8dae9263fe826 /man/mkinresplot.Rd | |
parent | f217301d19c9297b3ae3a1b215c8d573cda4c2e5 (diff) |
Option to add residual plot to plot.mkinfit
Diffstat (limited to 'man/mkinresplot.Rd')
-rw-r--r-- | man/mkinresplot.Rd | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/man/mkinresplot.Rd b/man/mkinresplot.Rd index 8e3f18a4..3f53dd1b 100644 --- a/man/mkinresplot.Rd +++ b/man/mkinresplot.Rd @@ -5,10 +5,13 @@ }
\description{
This function plots the residuals for the specified subset of the
- observed variables from an mkinfit object.
+ observed variables from an mkinfit object. A combined plot of the fitted
+ model and the residuals can be obtained using \code{\link{plot.mkinfit}}
+ using the argument \code{show_residuals = TRUE}.
}
\usage{
- mkinresplot(object, obs_vars = vector(),
+ mkinresplot(object,
+ obs_vars = names(object$mkinmod$map),
xlab = "Time", ylab = "Residual",
maxabs = "auto", legend = TRUE, lpos = "topright", ...)
}
@@ -18,7 +21,7 @@ }
\item{obs_vars}{
A character vector of names of the observed variables for which residuals
- should be plotted.
+ should be plotted. Defaults to all observed variables in the model
}
\item{xlab}{
Label for the x axis. Defaults to "Time [days]".
@@ -44,7 +47,7 @@ Nothing is returned by this function, as it is called for its side effect, namely to produce a plot.
}
\author{
- Katrin Lindenberger and Johannes Ranke
+ Johannes Ranke
}
\seealso{
|