aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/synthetic_data_for_UBA_2014.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-09-19 12:48:52 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2019-09-19 12:48:52 +0200
commitfdea2cd47c639d18a4ebdf1b1ec0cef50718310f (patch)
tree1f48b8c99eddb698208f3d9e944fbf5e16f3baaf /docs/reference/synthetic_data_for_UBA_2014.html
parenta7beb73cdfeed34525266d76f424375e1d069a48 (diff)
Revert a change in the original add_err function
that I made in the first attempt to work around the issue with the %in% operator in the example code Static documentation rebuilt by pkgdown
Diffstat (limited to 'docs/reference/synthetic_data_for_UBA_2014.html')
-rw-r--r--docs/reference/synthetic_data_for_UBA_2014.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/synthetic_data_for_UBA_2014.html b/docs/reference/synthetic_data_for_UBA_2014.html
index 2c4480d9..a639151b 100644
--- a/docs/reference/synthetic_data_for_UBA_2014.html
+++ b/docs/reference/synthetic_data_for_UBA_2014.html
@@ -249,7 +249,7 @@ Compare also the code in the example section to see the degradation models." />
<span class='co'># d_rep = data.frame(lapply(d_long, rep, each = 2))</span>
<span class='co'># d_rep$value = rnorm(length(d_rep$value), d_rep$value, sdfunc(d_rep$value))</span>
<span class='co'>#</span>
-<span class='co'># d_rep[d_rep$time == 0 &amp; match(d_rep$name, c("M1", "M2"), "value"] &lt;- 0</span>
+<span class='co'># d_rep[d_rep$time == 0 &amp; d_rep$name %in% c("M1", "M2"), "value"] &lt;- 0</span>
<span class='co'># d_NA &lt;- transform(d_rep, value = ifelse(value &lt; LOD, NA, value))</span>
<span class='co'># d_NA$value &lt;- round(d_NA$value, 1)</span>
<span class='co'># return(d_NA)</span>
@@ -282,8 +282,8 @@ Compare also the code in the example section to see the degradation models." />
<span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='plot.mkinfit.html'>plot_sep</a></span>(<span class='no'>fit</span>)</div><div class='img'><img src='synthetic_data_for_UBA_2014-1.png' alt='' width='700' height='433' /></div><div class='input'><span class='fu'><a href='https://rdrr.io/r/base/summary.html'>summary</a></span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.49.6
#&gt; R version used for fitting: 3.6.1
-#&gt; Date of fit: Thu Sep 19 12:43:02 2019
-#&gt; Date of summary: Thu Sep 19 12:43:02 2019
+#&gt; Date of fit: Thu Sep 19 12:48:50 2019
+#&gt; Date of summary: Thu Sep 19 12:48:50 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -292,7 +292,7 @@ Compare also the code in the example section to see the degradation models." />
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted using 847 model solutions performed in 2.51 s
+#&gt; Fitted using 847 model solutions performed in 2.49 s
#&gt;
#&gt; Error model: Constant variance
#&gt;

Contact - Imprint