aboutsummaryrefslogtreecommitdiff
path: root/man/mkinresplot.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-11-04 23:48:20 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-11-04 23:48:20 +0100
commit3410513f55b3f8b5c4331f4fb4487613d3a28208 (patch)
tree2cca68db398dfebae0d43d27cc658acf15e9ede7 /man/mkinresplot.Rd
parent31fd7412f46c9715962763d435cb0060ea420752 (diff)
Scaled residual plots
Diffstat (limited to 'man/mkinresplot.Rd')
-rw-r--r--man/mkinresplot.Rd16
1 files changed, 10 insertions, 6 deletions
diff --git a/man/mkinresplot.Rd b/man/mkinresplot.Rd
index 27e1322f..465b3038 100644
--- a/man/mkinresplot.Rd
+++ b/man/mkinresplot.Rd
@@ -5,7 +5,8 @@
\title{Function to plot residuals stored in an mkin object}
\usage{
mkinresplot(object, obs_vars = names(object$mkinmod$map), xlim = c(0,
- 1.1 * max(object$data$time)), xlab = "Time", ylab = "Residual",
+ 1.1 * max(object$data$time)), standardized = FALSE, xlab = "Time",
+ ylab = ifelse(standardized, "Standardized residual", "Residual"),
maxabs = "auto", legend = TRUE, lpos = "topright",
col_obs = "auto", pch_obs = "auto", frame = TRUE, ...)
}
@@ -18,15 +19,17 @@ the model}
\item{xlim}{plot range in x direction.}
-\item{xlab}{Label for the x axis. Defaults to "Time [days]".}
+\item{standardized}{Should the residuals be standardized by dividing by the
+standard deviation given by the error model of the fit?}
-\item{ylab}{Label for the y axis. Defaults to "Residual [\% of applied
-radioactivity]".}
+\item{xlab}{Label for the x axis.}
+
+\item{ylab}{Label for the y axis.}
\item{maxabs}{Maximum absolute value of the residuals. This is used for the
scaling of the y axis and defaults to "auto".}
-\item{legend}{Should a legend be plotted? Defaults to "TRUE".}
+\item{legend}{Should a legend be plotted?}
\item{lpos}{Where should the legend be placed? Default is "topright". Will
be passed on to \code{\link{legend}}.}
@@ -58,7 +61,8 @@ mkinresplot(fit, "m1")
}
\seealso{
\code{\link{mkinplot}}, for a way to plot the data and the fitted
- lines of the mkinfit object.
+ lines of the mkinfit object, and \code{\link{plot_res}} for a function
+ combining the plot of the fit and the residual plot.
}
\author{
Johannes Ranke

Contact - Imprint