From e514f8235ee5398da5c5c83d472ca99dd5324066 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 25 Oct 2022 10:35:39 +0200 Subject: 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. --- R/anova.saem.mmkin.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'R/anova.saem.mmkin.R') 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, ..., -- cgit v1.2.1