aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-11-13 11:05:39 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-11-13 11:05:39 +0100
commitf6385b071cee2c261da28bf98fd1599da1a30ddb (patch)
treedd466c9c93fc2451f67ebfc8acfdfde25068ac88 /R
parentf3757dfbaabe4e60ecac063437a75ea32999640a (diff)
Likelihood ratio test for mmkin columns with two fits
Diffstat (limited to 'R')
-rw-r--r--R/lrtest.mkinfit.R5
1 files changed, 2 insertions, 3 deletions
diff --git a/R/lrtest.mkinfit.R b/R/lrtest.mkinfit.R
index 380cf3a5..0054ea88 100644
--- a/R/lrtest.mkinfit.R
+++ b/R/lrtest.mkinfit.R
@@ -18,10 +18,9 @@ lmtest::lrtest
#' parameters (alternative hypothesis) is listed first, then the model with the
#' lower number of fitted parameters (null hypothesis).
#'
-#' The method for mmkin objects only works for column objects with two members.
-#'
#' @importFrom stats logLik update
-#' @param object An \code{\link{mkinfit}} object
+#' @param object An \code{\link{mkinfit}} object, or an \code{\link{mmkin}} column
+#' object containing two fits to the same data.
#' @param object_2 Optionally, another mkinfit object fitted to the same data.
#' @param \dots Argument to \code{\link{mkinfit}}, passed to
#' \code{\link{update.mkinfit}} for creating the alternative fitted object.

Contact - Imprint