aboutsummaryrefslogtreecommitdiff
path: root/R/summary.saem.mmkin.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-25 10:35:39 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-25 10:35:39 +0200
commite514f8235ee5398da5c5c83d472ca99dd5324066 (patch)
treee096590d36e900d8b087ba5282624474b770d05a /R/summary.saem.mmkin.R
parent5ac21a5495d984eb6a281973211b2b79a78cda82 (diff)
Complete documentation and fix a bug
The bug was introduced by the changes in summary.saem.mmkin.R and surfaced in the tests when using saemix transformations.
Diffstat (limited to 'R/summary.saem.mmkin.R')
-rw-r--r--R/summary.saem.mmkin.R3
1 files changed, 2 insertions, 1 deletions
diff --git a/R/summary.saem.mmkin.R b/R/summary.saem.mmkin.R
index c66294ab..651cc29e 100644
--- a/R/summary.saem.mmkin.R
+++ b/R/summary.saem.mmkin.R
@@ -132,7 +132,7 @@ summary.saem.mmkin <- function(object, data = FALSE, verbose = FALSE, distimes =
}
}
} else {
- confint_back <- confint_trans
+ confint_back <- confint_trans[names_fixed_effects, ]
}
# Correlation of fixed effects (inspired by summary.nlme)
@@ -210,6 +210,7 @@ print.summary.saem.mmkin <- function(x, digits = max(3, getOption("digits") - 3)
cat("Using", paste(x$so@options$nbiter.saemix, collapse = ", "),
"iterations and", x$so@options$nb.chains, "chains\n")
+ cat("\nVariance model: ")
cat(switch(x$err_mod,
const = "Constant variance",
obs = "Variance unique to each observed variable",

Contact - Imprint