aboutsummaryrefslogtreecommitdiff
path: root/inst/web/mmkin.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-06-28 00:44:48 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-06-28 01:30:00 +0200
commitef7ccf68e086bac3e75858bd4b97e3a2c6872aa1 (patch)
treee1b9e55736b0961843e84c60caeb9117e1c35c6d /inst/web/mmkin.html
parent4672c2b3fd6c22e63b00ee5038998dd68a885c25 (diff)
Avoid multicore fits in vignettes for passing CRAN checks
Also a small fix to the FOCUS Z vignette, and an update of the static documentation generated by staticdocs.
Diffstat (limited to 'inst/web/mmkin.html')
-rw-r--r--inst/web/mmkin.html30
1 files changed, 21 insertions, 9 deletions
diff --git a/inst/web/mmkin.html b/inst/web/mmkin.html
index 754be268..b3e7a6fd 100644
--- a/inst/web/mmkin.html
+++ b/inst/web/mmkin.html
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
-<title>mmkin. mkin 0.9.42</title>
+<title>mmkin. mkin 0.9.43</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="
Johannes Ranke
@@ -34,7 +34,7 @@
<div class="navbar">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="#">mkin 0.9.42</a>
+ <a class="brand" href="#">mkin 0.9.43</a>
<div class="nav">
<ul class="nav">
<li><a href="index.html"><i class="icon-home icon-white"></i> Index</a></li>
@@ -107,24 +107,36 @@
<h2 id="examples">Examples</h2>
<pre class="examples"><div class='input'>## Not run:
-# m_synth_SFO_lin &lt;- mkinmod(parent = list(type = &quot;SFO&quot;, to = &quot;M1&quot;),
-# M1 = list(type = &quot;SFO&quot;, to = &quot;M2&quot;),
-# M2 = list(type = &quot;SFO&quot;), use_of_ff = &quot;max&quot;)
+# m_synth_SFO_lin &lt;- mkinmod(parent = mkinsub(&quot;SFO&quot;, &quot;M1&quot;),
+# M1 = mkinsub(&quot;SFO&quot;, &quot;M2&quot;),
+# M2 = mkinsub(&quot;SFO&quot;), use_of_ff = &quot;max&quot;)
#
-# m_synth_FOMC_lin &lt;- mkinmod(parent = list(type = &quot;FOMC&quot;, to = &quot;M1&quot;),
-# M1 = list(type = &quot;SFO&quot;, to = &quot;M2&quot;),
-# M2 = list(type = &quot;SFO&quot;), use_of_ff = &quot;max&quot;)
+# m_synth_FOMC_lin &lt;- mkinmod(parent = mkinsub(&quot;FOMC&quot;, &quot;M1&quot;),
+# M1 = mkinsub(&quot;SFO&quot;, &quot;M2&quot;),
+# M2 = mkinsub(&quot;SFO&quot;), use_of_ff = &quot;max&quot;)
#
# models &lt;- list(SFO_lin = m_synth_SFO_lin, FOMC_lin = m_synth_FOMC_lin)
# datasets &lt;- lapply(synthetic_data_for_UBA_2014[1:3], function(x) x$data)
+# names(datasets) &lt;- paste(&quot;Dataset&quot;, 1:3)
#
-# time_default &lt;- system.time(fits &lt;- mmkin(models, datasets))
+# time_default &lt;- system.time(fits.0 &lt;- mmkin(models, datasets))
# time_1 &lt;- system.time(fits.1 &lt;- mmkin(models, datasets, cores = 1))
#
# time_default
# time_1
#
# endpoints(fits[[&quot;SFO_lin&quot;, 2]])
+#
+# # Plot.mkinfit handles rows or columns of mmkin result objects
+# plot(fits.0[1, ])
+# plot(fits.0[1, ], obs_var = c(&quot;M1&quot;, &quot;M2&quot;))
+# plot(fits.0[, 1])
+# # Use double brackets to extract a single mkinfit object, which will be plotted
+# # by plot.mkinfit
+# plot(fits.0[[1, 1]], sep_obs = TRUE, show_residuals = TRUE, show_errmin = TRUE)
+# # Plotting with mmkin (single brackets, extracting an mmkin object) does not
+# # allow to plot the observed variables separately
+# plot(fits.0[1, 1])
# ## End(Not run)
</div></pre>
</div>

Contact - Imprint