aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/reference/multistart.html
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 /docs/dev/reference/multistart.html
parentd25974f643ee46b7cd5ccd8331dd7bb0b14ab27a (diff)
Update multistart example code and vignette
Diffstat (limited to 'docs/dev/reference/multistart.html')
-rw-r--r--docs/dev/reference/multistart.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/docs/dev/reference/multistart.html b/docs/dev/reference/multistart.html
index 83af8dbb..c874bf50 100644
--- a/docs/dev/reference/multistart.html
+++ b/docs/dev/reference/multistart.html
@@ -166,14 +166,6 @@ for parallel execution.</p></dd>
<p>The index of the object with the highest likelihood</p>
</div>
- <div id="details">
- <h2>Details</h2>
- <p>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
-<a href="https://pkgdown.jrwb.de/mkin/dev/articles/web_only/multistart.html">online vignette</a>
-in this case.</p>
- </div>
<div id="references">
<h2>References</h2>
<p>Duchesne R, Guillemin A, Gandrillon O, Crauste F. Practical
@@ -203,7 +195,7 @@ doi: 10.1186/s12859-021-04373-4.</p>
<span class="r-in"><span><span class="va">f_mmkin</span> <span class="op">&lt;-</span> <span class="fu"><a href="mmkin.html">mmkin</a></span><span class="op">(</span><span class="st">"DFOP"</span>, <span class="va">dmta_ds</span>, error_model <span class="op">=</span> <span class="st">"tc"</span>, cores <span class="op">=</span> <span class="fl">7</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">f_saem_full</span> <span class="op">&lt;-</span> <span class="fu"><a href="saem.html">saem</a></span><span class="op">(</span><span class="va">f_mmkin</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">f_saem_full_multi</span> <span class="op">&lt;-</span> <span class="fu">multistart</span><span class="op">(</span><span class="va">f_saem_full</span>, n <span class="op">=</span> <span class="fl">16</span>, cores <span class="op">=</span> <span class="fl">16</span><span class="op">)</span></span></span>
-<span class="r-in"><span><span class="fu"><a href="parhist.html">parhist</a></span><span class="op">(</span><span class="va">f_saem_full_multi</span>, lpos <span class="op">=</span> <span class="st">"bottomright"</span><span class="op">)</span></span></span>
+<span class="r-in"><span><span class="fu"><a href="parhist.html">parhist</a></span><span class="op">(</span><span class="va">f_saem_full_multi</span>, lpos <span class="op">=</span> <span class="st">"bottomleft"</span><span class="op">)</span></span></span>
<span class="r-plt img"><img src="multistart-1.png" alt="" width="700" height="433"></span>
<span class="r-in"><span><span class="fu"><a href="illparms.html">illparms</a></span><span class="op">(</span><span class="va">f_saem_full</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] "sd(log_k2)"</span>
@@ -219,7 +211,7 @@ doi: 10.1186/s12859-021-04373-4.</p>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/parallel/clusterApply.html" class="external-link">clusterExport</a></span><span class="op">(</span><span class="va">cl</span>, <span class="st">"f_mmkin"</span><span class="op">)</span></span></span>
<span class="r-err co"><span class="r-pr">#&gt;</span> <span class="error">Error in get(name, envir = envir):</span> object 'f_mmkin' not found</span>
<span class="r-in"><span><span class="va">f_saem_reduced_multi</span> <span class="op">&lt;-</span> <span class="fu">multistart</span><span class="op">(</span><span class="va">f_saem_reduced</span>, n <span class="op">=</span> <span class="fl">16</span>, cluster <span class="op">=</span> <span class="va">cl</span><span class="op">)</span></span></span>
-<span class="r-in"><span><span class="fu"><a href="parhist.html">parhist</a></span><span class="op">(</span><span class="va">f_saem_reduced_multi</span>, lpos <span class="op">=</span> <span class="st">"bottomright"</span><span class="op">)</span></span></span>
+<span class="r-in"><span><span class="fu"><a href="parhist.html">parhist</a></span><span class="op">(</span><span class="va">f_saem_reduced_multi</span>, lpos <span class="op">=</span> <span class="st">"topright"</span><span class="op">)</span></span></span>
<span class="r-plt img"><img src="multistart-2.png" alt="" width="700" height="433"></span>
<span class="r-in"><span><span class="co"># }</span></span></span>
</code></pre></div>

Contact - Imprint