aboutsummaryrefslogtreecommitdiff
path: root/R/nlme.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-05-26 18:38:51 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-05-26 18:52:01 +0200
commit675a733fa2acc08daabb9b8b571c7d658f281f73 (patch)
treeef29cec38aa6d446f7956c0e423cca6bed2e21c0 /R/nlme.R
parent5e85d8856e7c9db3c52bb6ac5a0a81e2f0c6181c (diff)
Use all cores per default, confint tolerance
Also, use more intelligent starting values for the variance of the random effects for saemix. While this does not appear to speed up the convergence, it shows where this variance is greatly reduced by using mixed-effects models as opposed to the separate independent fits.
Diffstat (limited to 'R/nlme.R')
-rw-r--r--R/nlme.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/nlme.R b/R/nlme.R
index 3ee7b9fd..20987064 100644
--- a/R/nlme.R
+++ b/R/nlme.R
@@ -125,7 +125,7 @@ nlme_function <- function(object) {
#' @return If random is FALSE (default), a named vector containing mean values
#' of the fitted degradation model parameters. If random is TRUE, a list with
#' fixed and random effects, in the format required by the start argument of
-#' nlme for the case of a single grouping variable ds?
+#' nlme for the case of a single grouping variable ds.
#' @param random Should a list with fixed and random effects be returned?
#' @export
mean_degparms <- function(object, random = FALSE) {

Contact - Imprint