From 08e600c0eea6153b433659c08ea49aead5ffd932 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 26 Oct 2022 10:36:19 +0200 Subject: Update multistart example code and vignette --- man/multistart.Rd | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'man') diff --git a/man/multistart.Rd b/man/multistart.Rd index d20c0465..ebcc7d80 100644 --- a/man/multistart.Rd +++ b/man/multistart.Rd @@ -61,13 +61,6 @@ started with a certain range of reasonable starting parameters. It is inspired by the article on practical identifiabiliy in the frame of nonlinear mixed-effects models by Duchesne et al (2021). } -\details{ -In case the online version of this help page contains error messages -in the example code and no plots, this is due to the multistart method -not working when called by pkgdown. Please refer to the -\href{https://pkgdown.jrwb.de/mkin/dev/articles/web_only/multistart.html}{online vignette} -in this case. -} \examples{ \dontrun{ library(mkin) @@ -84,7 +77,7 @@ dmta_ds[["Elliot 1"]] <- dmta_ds[["Elliot 2"]] <- NULL f_mmkin <- mmkin("DFOP", dmta_ds, error_model = "tc", cores = 7, quiet = TRUE) f_saem_full <- saem(f_mmkin) f_saem_full_multi <- multistart(f_saem_full, n = 16, cores = 16) -parhist(f_saem_full_multi, lpos = "bottomright") +parhist(f_saem_full_multi, lpos = "bottomleft") illparms(f_saem_full) f_saem_reduced <- update(f_saem_full, no_random_effect = "log_k2") @@ -96,7 +89,7 @@ library(parallel) cl <- makePSOCKcluster(12) clusterExport(cl, "f_mmkin") f_saem_reduced_multi <- multistart(f_saem_reduced, n = 16, cluster = cl) -parhist(f_saem_reduced_multi, lpos = "bottomright") +parhist(f_saem_reduced_multi, lpos = "topright") } } \references{ -- cgit v1.2.1