From 082be7baa35d7e8131a70ca8cc061d90e08fa584 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 15 Apr 2020 01:27:02 +0200 Subject: A plot method for nlme.mmkin fits --- docs/reference/plot.nlme.mmkin.html | 252 ++++++++++++++++++++++++++++++++++++ 1 file changed, 252 insertions(+) create mode 100644 docs/reference/plot.nlme.mmkin.html (limited to 'docs/reference/plot.nlme.mmkin.html') diff --git a/docs/reference/plot.nlme.mmkin.html b/docs/reference/plot.nlme.mmkin.html new file mode 100644 index 00000000..d5b7c00c --- /dev/null +++ b/docs/reference/plot.nlme.mmkin.html @@ -0,0 +1,252 @@ + + + + + + + + +Plot a fitted nonlinear mixed model obtained via an mmkin row object — plot.nlme.mmkin • mkin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ +
+
+ + +
+

Plot a fitted nonlinear mixed model obtained via an mmkin row object

+
+ +
# S3 method for nlme.mmkin
+plot(
+  x,
+  i = 1:ncol(x$mmkin_orig),
+  main = "auto",
+  legends = 1,
+  resplot = c("time", "errmod"),
+  standardized = FALSE,
+  cex = 0.7,
+  rel.height.middle = 0.9,
+  ymax = "auto",
+  ...
+)
+ +

Arguments

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
x

An object of class nlme.mmkin

i

A numeric index to select datasets for which to plot the nlme fit, +in case plots get too large

main

The main title placed on the outer margin of the plot.

legends

An index for the fits for which legends should be shown.

resplot

Should the residuals plotted against time, using +mkinresplot, or as squared residuals against predicted +values, with the error model, using mkinerrplot.

standardized

Should the residuals be standardized? This option +is passed to mkinresplot, it only takes effect if +`resplot = "time"`.

cex

Passed to the plot functions and mtext.

rel.height.middle

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

ymax

Maximum y axis value for plot.mkinfit.

...

Further arguments passed to plot.mkinfit and +mkinresplot.

+ +

Value

+ +

The function is called for its side effect.

+ +

Examples

+
ds <- lapply(experimental_data_for_UBA_2019[6:10], + function(x) subset(x$data[c("name", "time", "value")], name == "parent")) +f <- mmkin("SFO", ds, quiet = TRUE, cores = 1) +#plot(f) # too many panels for pkgdown +library(nlme) +f_nlme <- nlme(f) + +#plot(f_nlme) # too many panels for pkgdown +plot(f_nlme, 1:2)
+
+ +
+ + + +
+ + + + + + + + -- cgit v1.2.1