aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-10-24 01:42:54 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-10-24 01:42:54 +0200
commit6ad4e443b662e8c61b1b350d3e639e821a8ff764 (patch)
tree582e8a056f38b37da5efa94a068babf628ad0c5a /man
parentdd80ab5d64bc6b56587b0542dc95e965a3a25590 (diff)
Improve plot layout
Diffstat (limited to 'man')
-rw-r--r--man/plot.nlme.mmkin.Rd15
1 files changed, 4 insertions, 11 deletions
diff --git a/man/plot.nlme.mmkin.Rd b/man/plot.nlme.mmkin.Rd
index d1fde212..5f6e4ed3 100644
--- a/man/plot.nlme.mmkin.Rd
+++ b/man/plot.nlme.mmkin.Rd
@@ -7,11 +7,10 @@
\method{plot}{nlme.mmkin}(
x,
i = 1:ncol(x$mmkin_orig),
- main = rownames(x$mmkin_orig),
+ main = NULL,
obs_vars = names(x$mkinmod$map),
standardized = TRUE,
xlab = "Time",
- ylab = "Observed",
xlim = range(x$data$time),
legends = 1,
lpos = "topright",
@@ -19,8 +18,7 @@
resplot = c("predicted", "time"),
ymax = "auto",
maxabs = "auto",
- cex = 0.7,
- rel.height.middle = 0.9,
+ rel.height.bottom = 1.1,
pch_ds = 1:length(i),
col_ds = pch_ds + 1,
lty_ds = col_ds,
@@ -45,8 +43,6 @@ variables in the model.}
\item{xlab}{Label for the x axis.}
-\item{ylab}{Label for the y axis.}
-
\item{xlim}{Plot range in x direction.}
\item{legends}{An index for the fits for which legends should be shown.}
@@ -65,10 +61,7 @@ predicted values?}
\item{maxabs}{Maximum absolute value of the residuals. This is used for the
scaling of the y axis and defaults to "auto".}
-\item{cex}{Passed to the plot functions and \code{\link{mtext}}.}
-
-\item{rel.height.middle}{The relative height of the middle plot, if more
-than two rows of plots are shown.}
+\item{rel.height.bottom}{The relative height of the bottom plot row}
\item{pch_ds}{Symbols to be used for plotting the data.}
@@ -99,7 +92,7 @@ plot(f[, 3:4], standardized = TRUE)
library(nlme)
# For this fit we need to increase pnlsMaxiter, and we increase the
# tolerance in order to speed up the fit for this example evaluation
-f_nlme <- nlme(f, control = list(pnlsMaxIter = 120, tolerance = 1e-4))
+f_nlme <- nlme(f, control = list(pnlsMaxIter = 120, tolerance = 1e-3))
plot(f_nlme)
}
\author{

Contact - Imprint