aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-04-26 03:04:12 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2014-04-26 03:04:12 +0200
commitd619711839afb6776f003c990e1a77c8fedf1a6a (patch)
treea906918522894be5f7ed10d2ab88ee68b2129c12 /man
parent59e2c3b5ce470ace53b93ad5e6e7d9acbfe86f21 (diff)
Enable selection of observed variables to plot
Diffstat (limited to 'man')
-rw-r--r--man/plot.mkinfit.Rd28
1 files changed, 17 insertions, 11 deletions
diff --git a/man/plot.mkinfit.Rd b/man/plot.mkinfit.Rd
index ccf2960..41682ad 100644
--- a/man/plot.mkinfit.Rd
+++ b/man/plot.mkinfit.Rd
@@ -9,7 +9,9 @@
the observed data together with the solution of the fitted model.
}
\usage{
-\method{plot}{mkinfit}(x, fit = x, xlab = "Time", ylab = "Observed",
+\method{plot}{mkinfit}(x, fit = x,
+ obs_vars = vector(),
+ 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 = rep(1, length(fit$mkinmod$map)),
@@ -18,10 +20,14 @@
\arguments{
\item{x}{
Alias for fit introduced for compatibility with the generic S3 method.
-}
+ }
\item{fit}{
an object of class \code{\link{mkinfit}}.
-}
+ }
+ \item{obs_vars}{
+ A character vector of names of the observed variables for which the
+ data and the model should be plotted.
+ }
\item{xlab}{
label for the x axis.
}
@@ -36,28 +42,28 @@
}
\item{col_obs}{
colors used for plotting the observed data and the corresponding model prediction lines.
-}
+ }
\item{pch_obs}{
symbols to be used for plotting the data.
-}
+ }
\item{lty_obs}{
line types to be used for the model predictions.
-}
+ }
\item{add}{
should the plot be added to an existing plot?
-}
+ }
\item{legend}{
should a legend be added to the plot?
-}
+ }
\item{lpos}{
position of the legend. Passed to \code{\link{legend}} as the first argument.
-}
+ }
\item{inset}{
Passed to \code{\link{legend}} if applicable.
-}
+ }
\item{\dots}{
further arguments passed to \code{\link{plot}}.
-}
+ }
}
\value{
The function is called for its side effect.

Contact - Imprint