diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-05-18 21:26:17 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-05-18 21:26:17 +0200 |
commit | 91c5db736a4d3f2290a0cc5698fb4e35ae7bda59 (patch) | |
tree | 8e9e34d18f055936172329c1248e6e2ff136bff9 /docs/reference/create_deg_func.html | |
parent | ea57db98cef3fb882f7bd9656b44f270e7bded38 (diff) |
Remove outdated comment in FOCUS L vignette, update docs
This also adds the first benchmark results obtained on my laptop system
Diffstat (limited to 'docs/reference/create_deg_func.html')
-rw-r--r-- | docs/reference/create_deg_func.html | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/docs/reference/create_deg_func.html b/docs/reference/create_deg_func.html index 2516edff..36b054fe 100644 --- a/docs/reference/create_deg_func.html +++ b/docs/reference/create_deg_func.html @@ -114,31 +114,21 @@ <span class="r-in"><span class="co"># \dontrun{</span></span> <span class="r-in"><span class="va">fit_2</span> <span class="op"><-</span> <span class="fu"><a href="mkinfit.html">mkinfit</a></span><span class="op">(</span><span class="va">SFO_SFO</span>, <span class="va">FOCUS_D</span>, solution_type <span class="op">=</span> <span class="st">"deSolve"</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span> <span class="r-in"><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="va"><a href="http://rbenchmark.googlecode.com" class="external-link">rbenchmark</a></span><span class="op">)</span><span class="op">)</span></span> -<span class="r-in"> <span class="fu"><a href="https://rdrr.io/pkg/rbenchmark/man/benchmark.html" class="external-link">benchmark</a></span><span class="op">(</span></span> +<span class="r-in"> <span class="fu">benchmark</span><span class="op">(</span></span> <span class="r-in"> analytical <span class="op">=</span> <span class="fu"><a href="mkinfit.html">mkinfit</a></span><span class="op">(</span><span class="va">SFO_SFO</span>, <span class="va">FOCUS_D</span>, solution_type <span class="op">=</span> <span class="st">"analytical"</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span>,</span> <span class="r-in"> deSolve <span class="op">=</span> <span class="fu"><a href="mkinfit.html">mkinfit</a></span><span class="op">(</span><span class="va">SFO_SFO</span>, <span class="va">FOCUS_D</span>, solution_type <span class="op">=</span> <span class="st">"deSolve"</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span>,</span> <span class="r-in"> replications <span class="op">=</span> <span class="fl">2</span><span class="op">)</span></span> <span class="r-msg co"><span class="r-pr">#></span> Loading required package: rbenchmark</span> -<span class="r-out co"><span class="r-pr">#></span> test replications elapsed relative user.self sys.self user.child</span> -<span class="r-out co"><span class="r-pr">#></span> 1 analytical 2 0.394 1.000 0.393 0 0</span> -<span class="r-out co"><span class="r-pr">#></span> 2 deSolve 2 0.678 1.721 0.677 0 0</span> -<span class="r-out co"><span class="r-pr">#></span> sys.child</span> -<span class="r-out co"><span class="r-pr">#></span> 1 0</span> -<span class="r-out co"><span class="r-pr">#></span> 2 0</span> +<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>there is no package called ‘rbenchmark’</span> <span class="r-in"> <span class="va">DFOP_SFO</span> <span class="op"><-</span> <span class="fu"><a href="mkinmod.html">mkinmod</a></span><span class="op">(</span></span> <span class="r-in"> parent <span class="op">=</span> <span class="fu"><a href="mkinmod.html">mkinsub</a></span><span class="op">(</span><span class="st">"DFOP"</span>, <span class="st">"m1"</span><span class="op">)</span>,</span> <span class="r-in"> m1 <span class="op">=</span> <span class="fu"><a href="mkinmod.html">mkinsub</a></span><span class="op">(</span><span class="st">"SFO"</span><span class="op">)</span><span class="op">)</span></span> <span class="r-msg co"><span class="r-pr">#></span> Temporary DLL for differentials generated and loaded</span> -<span class="r-in"> <span class="fu"><a href="https://rdrr.io/pkg/rbenchmark/man/benchmark.html" class="external-link">benchmark</a></span><span class="op">(</span></span> +<span class="r-in"> <span class="fu">benchmark</span><span class="op">(</span></span> <span class="r-in"> analytical <span class="op">=</span> <span class="fu"><a href="mkinfit.html">mkinfit</a></span><span class="op">(</span><span class="va">DFOP_SFO</span>, <span class="va">FOCUS_D</span>, solution_type <span class="op">=</span> <span class="st">"analytical"</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span>,</span> <span class="r-in"> deSolve <span class="op">=</span> <span class="fu"><a href="mkinfit.html">mkinfit</a></span><span class="op">(</span><span class="va">DFOP_SFO</span>, <span class="va">FOCUS_D</span>, solution_type <span class="op">=</span> <span class="st">"deSolve"</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span>,</span> <span class="r-in"> replications <span class="op">=</span> <span class="fl">2</span><span class="op">)</span></span> -<span class="r-out co"><span class="r-pr">#></span> test replications elapsed relative user.self sys.self user.child</span> -<span class="r-out co"><span class="r-pr">#></span> 1 analytical 2 0.829 1.000 0.829 0 0</span> -<span class="r-out co"><span class="r-pr">#></span> 2 deSolve 2 1.559 1.881 1.559 0 0</span> -<span class="r-out co"><span class="r-pr">#></span> sys.child</span> -<span class="r-out co"><span class="r-pr">#></span> 1 0</span> -<span class="r-out co"><span class="r-pr">#></span> 2 0</span> +<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in benchmark(analytical = mkinfit(DFOP_SFO, FOCUS_D, solution_type = "analytical", quiet = TRUE), deSolve = mkinfit(DFOP_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE), replications = 2):</span> could not find function "benchmark"</span> <span class="r-in"><span class="co"># }</span></span> </code></pre></div> </div> @@ -154,7 +144,7 @@ </div> <div class="pkgdown"> - <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.2.</p> + <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.3.</p> </div> </footer></div> |