aboutsummaryrefslogtreecommitdiff
path: root/R/saem.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-14 16:20:42 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-14 16:21:45 +0200
commitc03fa5d4e57033869cb437c1154da31abd96fc50 (patch)
tree78c034cf3a04deb8b1dc943df70e061245d26bcb /R/saem.R
parentb76e401a854021eaeda6f8ba262baf37b4ecfac2 (diff)
update method for mhmkin objects, clarify comment
Diffstat (limited to 'R/saem.R')
-rw-r--r--R/saem.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/saem.R b/R/saem.R
index 99712c92..5256f6b5 100644
--- a/R/saem.R
+++ b/R/saem.R
@@ -635,8 +635,8 @@ logLik.saem.mmkin <- function(object, ...) return(logLik(object$so))
update.saem.mmkin <- function(object, ..., evaluate = TRUE) {
call <- object$call
# For some reason we get saem.mmkin in the call when using mhmkin
- # so we need to fix this in order to avoid exporting saem.mmkin
- # in addition to the S3 method
+ # so we need to fix this so we do not have to export saem.mmkin in
+ # addition to the S3 method
call[[1]] <- saem
update_arguments <- match.call(expand.dots = FALSE)$...

Contact - Imprint