aboutsummaryrefslogtreecommitdiff
path: root/man/plot.mkinfit.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/plot.mkinfit.Rd
parent31fd7412f46c9715962763d435cb0060ea420752 (diff)
Scaled residual plots
Diffstat (limited to 'man/plot.mkinfit.Rd')
-rw-r--r--man/plot.mkinfit.Rd15
1 files changed, 12 insertions, 3 deletions
diff --git a/man/plot.mkinfit.Rd b/man/plot.mkinfit.Rd
index 3834eaf5..6824f8a5 100644
--- a/man/plot.mkinfit.Rd
+++ b/man/plot.mkinfit.Rd
@@ -16,9 +16,13 @@
lpos = "topright", inset = c(0.05, 0.05), show_errmin = FALSE,
errmin_digits = 3, frame = TRUE, ...)
-plot_sep(fit, show_errmin = TRUE, ...)
+plot_sep(fit, show_errmin = TRUE,
+ show_residuals = ifelse(identical(fit$err_mod, "const"), TRUE,
+ "standardized"), ...)
-plot_res(fit, sep_obs = FALSE, show_errmin = sep_obs, ...)
+plot_res(fit, sep_obs = FALSE, show_errmin = sep_obs,
+ show_residuals = ifelse(identical(fit$err_mod, "const"), TRUE,
+ "standardized"), ...)
plot_err(fit, sep_obs = FALSE, show_errmin = sep_obs, ...)
}
@@ -54,7 +58,9 @@ corresponding model prediction lines.}
\item{show_residuals}{Should residuals be shown? If only one plot of the
fits is shown, the residual plot is in the lower third of the plot.
Otherwise, i.e. if "sep_obs" is given, the residual plots will be located
-to the right of the plots of the fitted curves.}
+to the right of the plots of the fitted curves. If this is set to
+'standardized', a plot of the residuals divided by the standard deviation
+ given by the fitted error model will be shown.}
\item{show_errplot}{Should squared residuals and the error model be shown?
If only one plot of the fits is shown, this plot is in the lower third of
@@ -89,6 +95,8 @@ chi2 error percentage.}
\item{frame}{Should a frame be drawn around the plots?}
\item{\dots}{Further arguments passed to \code{\link{plot}}.}
+
+\item{standardized}{For}
}
\value{
The function is called for its side effect.
@@ -113,6 +121,7 @@ SFO_SFO <- mkinmod(parent = mkinsub("SFO", "m1", full = "Parent"),
fit <- mkinfit(SFO_SFO, FOCUS_2006_D, quiet = TRUE, error_model = "tc")
plot(fit)
plot_res(fit)
+plot_res(fit, standardized = FALSE)
plot_err(fit)
# Show the observed variables separately, with residuals

Contact - Imprint