aboutsummaryrefslogtreecommitdiff
path: root/R/anova.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/anova.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/anova.saem.mmkin.R')
-rw-r--r--R/anova.saem.mmkin.R4
1 files changed, 3 insertions, 1 deletions
diff --git a/R/anova.saem.mmkin.R b/R/anova.saem.mmkin.R
index e88561b9..9937a919 100644
--- a/R/anova.saem.mmkin.R
+++ b/R/anova.saem.mmkin.R
@@ -13,7 +13,9 @@
#' the alternative models are tested against the first model. Should
#' only be done for nested models.
#' @param model.names Optional character vector of model names
-#' @importFrom stats anova logLik update
+#' @importFrom stats anova logLik update pchisq terms
+#' @importFrom methods is
+#' @importFrom utils capture.output
#' @export
#' @return an "anova" data frame; the traditional (S3) result of anova()
anova.saem.mmkin <- function(object, ...,

Contact - Imprint