From a77a10ea6c607346778ba0700b3b66ac393101a2 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 27 May 2020 06:06:08 +0200 Subject: Create up to date pkgdown docs in development mode --- docs/dev/reference/plot.nlme.mmkin.html | 275 ++++++++++++++++++++++++++++++++ 1 file changed, 275 insertions(+) create mode 100644 docs/dev/reference/plot.nlme.mmkin.html (limited to 'docs/dev/reference/plot.nlme.mmkin.html') diff --git a/docs/dev/reference/plot.nlme.mmkin.html b/docs/dev/reference/plot.nlme.mmkin.html new file mode 100644 index 00000000..fd40b975 --- /dev/null +++ b/docs/dev/reference/plot.nlme.mmkin.html @@ -0,0 +1,275 @@ + + + + + + + + +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,
+  show_errmin = TRUE,
+  errmin_var = "All data",
+  errmin_digits = 3,
+  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".

show_errmin

Should the chi2 error level be shown on top of the plots +to the left?

errmin_var

The variable for which the FOCUS chi2 error value should +be shown.

errmin_digits

The number of significant digits for rounding the FOCUS +chi2 error percentage.

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 +plot(f[, 3:4])
library(nlme) +f_nlme <- nlme(f) + +#plot(f_nlme) # too many panels for pkgdown +plot(f_nlme, 3:4)
+
+ +
+ + + +
+ + + + + + + + -- cgit v1.2.1