From ead1f286271923f57d83aed41cb34181a10773ef Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 5 Nov 2019 00:05:34 +0100 Subject: Fix standardized residual plots in 'plot_res' --- docs/reference/plot.mkinfit-3.png | Bin 62528 -> 57593 bytes docs/reference/plot.mkinfit.html | 9 +++++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/plot.mkinfit-3.png b/docs/reference/plot.mkinfit-3.png index 72bc331e..6910ae47 100644 Binary files a/docs/reference/plot.mkinfit-3.png and b/docs/reference/plot.mkinfit-3.png differ diff --git a/docs/reference/plot.mkinfit.html b/docs/reference/plot.mkinfit.html index a3b912bb..8dc21b06 100644 --- a/docs/reference/plot.mkinfit.html +++ b/docs/reference/plot.mkinfit.html @@ -155,8 +155,8 @@ observed data together with the solution of the fitted model.

"standardized"), ...) plot_res(fit, sep_obs = FALSE, show_errmin = sep_obs, - show_residuals = ifelse(identical(fit$err_mod, "const"), TRUE, - "standardized"), ...) + standardized = ifelse(identical(fit$err_mod, "const"), FALSE, TRUE), + ...) plot_err(fit, sep_obs = FALSE, show_errmin = sep_obs, ...) @@ -282,7 +282,8 @@ chi2 error percentage.

standardized -

For

+

When calling 'plot_res', should the residuals be +standardized in the residual plot?

@@ -301,7 +302,7 @@ latex is being used for the formatting of the chi2 error level, if # parent to sink included # \dontrun{ SFO_SFO <- mkinmod(parent = mkinsub("SFO", "m1", full = "Parent"), - m1 = mkinsub("SFO", full = "Metabolite M1" ))
#> Successfully compiled differential equation model from auto-generated C code.
fit <- mkinfit(SFO_SFO, FOCUS_2006_D, quiet = TRUE, error_model = "tc")
#> Warning: Observations with value of zero were removed from the data
plot(fit)
plot_res(fit)
plot_res(fit, standardized = FALSE)
#> Warning: "standardized" ist kein Grafikparameter
#> Warning: "standardized" ist kein Grafikparameter
#> Warning: "standardized" ist kein Grafikparameter
#> Warning: "standardized" ist kein Grafikparameter
#> Warning: "standardized" ist kein Grafikparameter
#> Warning: "standardized" ist kein Grafikparameter
plot_err(fit)
+ m1 = mkinsub("SFO", full = "Metabolite M1" ))
#> Successfully compiled differential equation model from auto-generated C code.
fit <- mkinfit(SFO_SFO, FOCUS_2006_D, quiet = TRUE, error_model = "tc")
#> Warning: Observations with value of zero were removed from the data
plot(fit)
plot_res(fit)
plot_res(fit, standardized = FALSE)
plot_err(fit)
# Show the observed variables separately, with residuals plot(fit, sep_obs = TRUE, show_residuals = TRUE, lpos = c("topright", "bottomright"), show_errmin = TRUE)
-- cgit v1.2.1