aboutsummaryrefslogtreecommitdiff
path: root/R/nlme.mmkin.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-04-15 20:42:29 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-04-15 20:42:29 +0200
commitd518c4cfa22994db5ba81a6b01c6cb4c4186872e (patch)
treecc5cfb591981d46f084ad4c0d21e548b5b4c1be6 /R/nlme.mmkin.R
parent42171ba55222383a0d47e5aacd46a972819e7812 (diff)
Adapt endpoint() to also work for nlme.mmkin objects
Diffstat (limited to 'R/nlme.mmkin.R')
-rw-r--r--R/nlme.mmkin.R5
1 files changed, 5 insertions, 0 deletions
diff --git a/R/nlme.mmkin.R b/R/nlme.mmkin.R
index 6e3467ed..1d6c2e75 100644
--- a/R/nlme.mmkin.R
+++ b/R/nlme.mmkin.R
@@ -31,8 +31,10 @@
#' function(x) subset(x$data[c("name", "time", "value")], name == "parent"))
#' f <- mmkin("SFO", ds, quiet = TRUE, cores = 1)
#' library(nlme)
+#' endpoints(f[[1]])
#' f_nlme <- nlme(f)
#' print(f_nlme)
+#' endpoints(f_nlme)
#' f_nlme_2 <- nlme(f, start = c(parent_0 = 100, log_k_parent_sink = 0.1))
#' update(f_nlme_2, random = parent_0 ~ 1)
#' \dontrun{
@@ -77,6 +79,9 @@
#'
#' anova(f_nlme_dfop_sfo, f_nlme_fomc_sfo, f_nlme_sfo_sfo)
#' anova(f_nlme_dfop_sfo, f_nlme_sfo_sfo) # if we ignore FOMC
+#'
+#' endpoints(f_nlme_sfo_sfo)
+#' endpoints(f_nlme_dfop_sfo)
#' }
# Code inspired by nlme.nlsList
nlme.mmkin <- function(model, data = sys.frame(sys.parent()),

Contact - Imprint