aboutsummaryrefslogtreecommitdiff
path: root/man/plot.nlme.mmkin.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-04-15 18:13:04 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-04-15 19:00:06 +0200
commit42171ba55222383a0d47e5aacd46a972819e7812 (patch)
tree190320919fe83aece30b654bfeb7687241e36f99 /man/plot.nlme.mmkin.Rd
parent637bd14fed5ab8a615f0d879012f12c59e1532a4 (diff)
Include random effects in starting parameters
- mean_degparms() now optionally returns starting values for fixed and random effects, which makes it possible to obtain acceptable fits also in more difficult cases (with more parameters) - Fix the anova method, as it is currently not enough to inherit from lme: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17761 - Show fit information, and per default also errmin information in plot.nlme.mmkin() - Examples for nlme.mmkin: Decrease tolerance and increase the number of iterations in the PNLS step in order to be able to fit FOMC-SFO and DFOP-SFO
Diffstat (limited to 'man/plot.nlme.mmkin.Rd')
-rw-r--r--man/plot.nlme.mmkin.Rd15
1 files changed, 14 insertions, 1 deletions
diff --git a/man/plot.nlme.mmkin.Rd b/man/plot.nlme.mmkin.Rd
index c0e749aa..9bea7013 100644
--- a/man/plot.nlme.mmkin.Rd
+++ b/man/plot.nlme.mmkin.Rd
@@ -11,6 +11,9 @@
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",
@@ -35,6 +38,15 @@ values, with the error model, using \code{\link{mkinerrplot}}.}
is passed to \code{\link{mkinresplot}}, it only takes effect if
`resplot = "time"`.}
+\item{show_errmin}{Should the chi2 error level be shown on top of the plots
+to the left?}
+
+\item{errmin_var}{The variable for which the FOCUS chi2 error value should
+be shown.}
+
+\item{errmin_digits}{The number of significant digits for rounding the FOCUS
+chi2 error percentage.}
+
\item{cex}{Passed to the plot functions and \code{\link{mtext}}.}
\item{rel.height.middle}{The relative height of the middle plot, if more
@@ -56,11 +68,12 @@ 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, 1:2)
+plot(f_nlme, 3:4)
}
\author{
Johannes Ranke

Contact - Imprint