From e09f726134ee273b6b191c1ec6465e6f701b082b Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 21 Oct 2019 18:52:24 +0200 Subject: Improve some plotting routines, more tests Static documentation rebuilt by pkgdown --- docs/reference/plot.mkinfit.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docs/reference/plot.mkinfit.html') diff --git a/docs/reference/plot.mkinfit.html b/docs/reference/plot.mkinfit.html index 795262f8..df01a00b 100644 --- a/docs/reference/plot.mkinfit.html +++ b/docs/reference/plot.mkinfit.html @@ -159,9 +159,12 @@ If the current plot device is a tikz device, show_errplot = FALSE, maxabs = "auto", sep_obs = FALSE, rel.height.middle = 0.9, + row_layout = FALSE, lpos = "topright", inset = c(0.05, 0.05), show_errmin = FALSE, errmin_digits = 3, frame = TRUE, ...) -plot_sep(fit, sep_obs = TRUE, show_residuals = TRUE, show_errmin = TRUE, ...) +plot_sep(fit, show_errmin = TRUE, ...) +plot_res(fit, sep_obs = FALSE, show_errmin = sep_obs, ...) +plot_err(fit, sep_obs = FALSE, show_errmin = sep_obs, ...)

Arguments

@@ -244,6 +247,11 @@ If the current plot device is a tikz device, + + + +
rel.height.middle

The relative height of the middle plot, if more than two rows of plots are shown.

row_layout

Should we use a row layout where the residual plot or the error model plot is shown + to the right?

lpos

Position(s) of the legend(s). Passed to legend as the first argument. @@ -281,7 +289,7 @@ If the current plot device is a tikz device, # 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(fit, show_residuals = TRUE)
plot(fit, show_errplot = TRUE)
+ 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_err(fit)
# Show the observed variables separately plot(fit, sep_obs = TRUE, lpos = c("topright", "bottomright"))
# Show the observed variables separately, with residuals -- cgit v1.2.1