diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-09-19 12:48:52 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-09-19 12:48:52 +0200 |
commit | fdea2cd47c639d18a4ebdf1b1ec0cef50718310f (patch) | |
tree | 1f48b8c99eddb698208f3d9e944fbf5e16f3baaf /docs/reference | |
parent | a7beb73cdfeed34525266d76f424375e1d069a48 (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')
-rw-r--r-- | docs/reference/synthetic_data_for_UBA_2014.html | 8 |
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 & match(d_rep$name, c("M1", "M2"), "value"] <- 0</span> +<span class='co'># d_rep[d_rep$time == 0 & d_rep$name %in% c("M1", "M2"), "value"] <- 0</span> <span class='co'># d_NA <- transform(d_rep, value = ifelse(value < LOD, NA, value))</span> <span class='co'># d_NA$value <- 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'>#> mkin version used for fitting: 0.9.49.6 #> R version used for fitting: 3.6.1 -#> Date of fit: Thu Sep 19 12:43:02 2019 -#> Date of summary: Thu Sep 19 12:43:02 2019 +#> Date of fit: Thu Sep 19 12:48:50 2019 +#> Date of summary: Thu Sep 19 12:48:50 2019 #> #> Equations: #> d_parent/dt = - k_parent * parent @@ -292,7 +292,7 @@ Compare also the code in the example section to see the degradation models." /> #> #> Model predictions using solution type deSolve #> -#> Fitted using 847 model solutions performed in 2.51 s +#> Fitted using 847 model solutions performed in 2.49 s #> #> Error model: Constant variance #> |