aboutsummaryrefslogtreecommitdiff
path: root/R/lrtest.mkinfit.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/lrtest.mkinfit.R')
-rw-r--r--R/lrtest.mkinfit.R2
1 files changed, 2 insertions, 0 deletions
diff --git a/R/lrtest.mkinfit.R b/R/lrtest.mkinfit.R
index c3f4d38e..cf07154c 100644
--- a/R/lrtest.mkinfit.R
+++ b/R/lrtest.mkinfit.R
@@ -74,5 +74,7 @@ lrtest.mkinfit <- function(object, object_2 = NULL, ...) {
#' @export
lrtest.mmkin <- function(object, ...) {
if (nrow(object) != 2 | ncol(object) > 1) stop("Only works for a column containing two mkinfit objects")
+ object[[1, 1]]$mkinmod$name <- rownames(object)[1]
+ object[[2, 1]]$mkinmod$name <- rownames(object)[2]
lrtest(object[[1, 1]], object[[2, 1]])
}

Contact - Imprint