From b848fb360aa865c37298ee7526344b5280c700cc Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 17 Oct 2022 10:28:54 +0200 Subject: SFORB in saem, update for mhmkin and multistart --- R/mhmkin.R | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'R/mhmkin.R') diff --git a/R/mhmkin.R b/R/mhmkin.R index 2df01f0c..542bddf7 100644 --- a/R/mhmkin.R +++ b/R/mhmkin.R @@ -207,6 +207,10 @@ BIC.mhmkin <- function(object, ...) { #' @export update.mhmkin <- function(object, ..., evaluate = TRUE) { call <- attr(object, "call") + # For some reason we get mhkin.list in call[[1]] when using mhmkin from the + # loaded package so we need to fix this so we do not have to export + # mhmkin.list in addition to the S3 method mhmkin + call[[1]] <- mhmkin update_arguments <- match.call(expand.dots = FALSE)$... -- cgit v1.2.1