aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-26 10:36:19 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-26 10:36:19 +0200
commit08e600c0eea6153b433659c08ea49aead5ffd932 (patch)
tree2b9e09bd881e392b20fa34b80db7c925687a9037 /man
parentd25974f643ee46b7cd5ccd8331dd7bb0b14ab27a (diff)
Update multistart example code and vignette
Diffstat (limited to 'man')
-rw-r--r--man/multistart.Rd11
1 files changed, 2 insertions, 9 deletions
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{

Contact - Imprint