From 3a5463672c297b37c3c9135c8b144c48744c05d0 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 31 Mar 2021 19:42:17 +0200 Subject: Bug fix in plot.mkinfit In residual plots, use xlab and xlim if appropriate --- docs/articles/FOCUS_D.html | 16 +++--- docs/articles/FOCUS_D_files/figure-html/plot-1.png | Bin 79176 -> 79749 bytes .../FOCUS_D_files/figure-html/plot_2-1.png | Bin 24025 -> 24279 bytes .../FOCUS_D_files/header-attrs-2.7/header-attrs.js | 12 ++++ docs/articles/FOCUS_L.html | 62 ++++++++++----------- .../figure-html/unnamed-chunk-10-1.png | Bin 42203 -> 42472 bytes .../figure-html/unnamed-chunk-12-1.png | Bin 82006 -> 83163 bytes .../figure-html/unnamed-chunk-13-1.png | Bin 32751 -> 33123 bytes .../figure-html/unnamed-chunk-15-1.png | Bin 57939 -> 58647 bytes .../figure-html/unnamed-chunk-4-1.png | Bin 35238 -> 35678 bytes .../figure-html/unnamed-chunk-5-1.png | Bin 21999 -> 22090 bytes .../figure-html/unnamed-chunk-6-1.png | Bin 35640 -> 36105 bytes .../figure-html/unnamed-chunk-8-1.png | Bin 41399 -> 41395 bytes .../figure-html/unnamed-chunk-9-1.png | Bin 40983 -> 40745 bytes .../FOCUS_L_files/header-attrs-2.7/header-attrs.js | 12 ++++ docs/articles/mkin.html | 6 +- .../mkin_files/figure-html/unnamed-chunk-2-1.png | Bin 89958 -> 89961 bytes .../mkin_files/header-attrs-2.7/header-attrs.js | 12 ++++ docs/articles/twa.html | 6 +- .../twa_files/header-attrs-2.7/header-attrs.js | 12 ++++ docs/articles/web_only/FOCUS_Z.html | 6 +- .../figure-html/FOCUS_2006_Z_fits_1-1.png | Bin 66640 -> 66566 bytes .../figure-html/FOCUS_2006_Z_fits_10-1.png | Bin 106038 -> 105728 bytes .../figure-html/FOCUS_2006_Z_fits_11-1.png | Bin 105042 -> 104598 bytes .../figure-html/FOCUS_2006_Z_fits_11a-1.png | Bin 75626 -> 75131 bytes .../figure-html/FOCUS_2006_Z_fits_11b-1.png | Bin 35744 -> 36162 bytes .../figure-html/FOCUS_2006_Z_fits_2-1.png | Bin 66640 -> 66566 bytes .../figure-html/FOCUS_2006_Z_fits_3-1.png | Bin 66424 -> 66341 bytes .../figure-html/FOCUS_2006_Z_fits_5-1.png | Bin 80520 -> 80289 bytes .../figure-html/FOCUS_2006_Z_fits_6-1.png | Bin 105149 -> 104958 bytes .../figure-html/FOCUS_2006_Z_fits_7-1.png | Bin 104479 -> 104309 bytes .../figure-html/FOCUS_2006_Z_fits_9-1.png | Bin 88890 -> 88640 bytes .../FOCUS_Z_files/header-attrs-2.7/header-attrs.js | 12 ++++ docs/articles/web_only/NAFTA_examples.html | 6 +- .../NAFTA_examples_files/figure-html/p10-1.png | Bin 78793 -> 79833 bytes .../NAFTA_examples_files/figure-html/p11-1.png | Bin 75470 -> 76357 bytes .../NAFTA_examples_files/figure-html/p12a-1.png | Bin 80755 -> 81683 bytes .../NAFTA_examples_files/figure-html/p12b-1.png | Bin 69885 -> 70857 bytes .../NAFTA_examples_files/figure-html/p13-1.png | Bin 77126 -> 78065 bytes .../NAFTA_examples_files/figure-html/p14-1.png | Bin 79693 -> 80776 bytes .../NAFTA_examples_files/figure-html/p15a-1.png | Bin 75945 -> 76982 bytes .../NAFTA_examples_files/figure-html/p15b-1.png | Bin 78004 -> 78986 bytes .../NAFTA_examples_files/figure-html/p16-1.png | Bin 93075 -> 94024 bytes .../NAFTA_examples_files/figure-html/p5a-1.png | Bin 81521 -> 82684 bytes .../NAFTA_examples_files/figure-html/p5b-1.png | Bin 79783 -> 80778 bytes .../NAFTA_examples_files/figure-html/p6-1.png | Bin 81974 -> 83064 bytes .../NAFTA_examples_files/figure-html/p7-1.png | Bin 101606 -> 102575 bytes .../NAFTA_examples_files/figure-html/p8-1.png | Bin 91429 -> 92480 bytes .../NAFTA_examples_files/figure-html/p9a-1.png | Bin 77612 -> 78544 bytes .../NAFTA_examples_files/figure-html/p9b-1.png | Bin 75129 -> 76187 bytes .../header-attrs-2.7/header-attrs.js | 12 ++++ docs/articles/web_only/benchmarks.html | 26 ++++++++- .../header-attrs-2.7/header-attrs.js | 12 ++++ docs/news/index.html | 2 +- docs/pkgdown.yml | 2 +- docs/reference/D24_2014.html | 2 +- docs/reference/Extract.mmkin.html | 2 +- docs/reference/Rplot001.png | Bin 27746 -> 1011 bytes docs/reference/Rplot002.png | Bin 59394 -> 16524 bytes docs/reference/Rplot003.png | Bin 15333 -> 15401 bytes docs/reference/Rplot004.png | Bin 10647 -> 10689 bytes docs/reference/Rplot005.png | Bin 19233 -> 19483 bytes docs/reference/Rplot006.png | Bin 24545 -> 24302 bytes docs/reference/Rplot007.png | Bin 24992 -> 25211 bytes docs/reference/add_err-1.png | Bin 108676 -> 109666 bytes docs/reference/add_err-2.png | Bin 63336 -> 63614 bytes docs/reference/add_err-3.png | Bin 58909 -> 59316 bytes docs/reference/add_err.html | 2 +- docs/reference/confint.mkinfit.html | 6 +- docs/reference/dimethenamid_2018.html | 2 +- docs/reference/experimental_data_for_UBA-1.png | Bin 102212 -> 102839 bytes docs/reference/experimental_data_for_UBA.html | 2 +- docs/reference/f_time_norm_focus.html | 2 +- docs/reference/focus_soil_moisture.html | 2 +- docs/reference/logLik.mkinfit.html | 2 +- docs/reference/mccall81_245T-1.png | Bin 62537 -> 62564 bytes docs/reference/mccall81_245T.html | 2 +- docs/reference/mixed-1.png | Bin 219866 -> 219876 bytes docs/reference/mixed.html | 2 +- docs/reference/mkinds.html | 2 +- docs/reference/mkindsg.html | 2 +- docs/reference/mkinfit-1.png | Bin 65835 -> 66042 bytes docs/reference/mkinfit.html | 28 +++++----- docs/reference/mkinmod.html | 6 +- docs/reference/mkinpredict.html | 6 +- docs/reference/mkinresplot-1.png | Bin 23819 -> 23907 bytes docs/reference/mkinresplot.html | 2 +- docs/reference/mmkin-1.png | Bin 110459 -> 111569 bytes docs/reference/mmkin-2.png | Bin 107057 -> 108319 bytes docs/reference/mmkin-3.png | Bin 96062 -> 96596 bytes docs/reference/mmkin-4.png | Bin 67191 -> 67345 bytes docs/reference/mmkin-5.png | Bin 64880 -> 65269 bytes docs/reference/mmkin.html | 6 +- docs/reference/nlme-1.png | Bin 70133 -> 70276 bytes docs/reference/nlme-2.png | Bin 94031 -> 94239 bytes docs/reference/nlme.html | 2 +- docs/reference/nlme.mmkin-1.png | Bin 124677 -> 124827 bytes docs/reference/nlme.mmkin-2.png | Bin 169523 -> 169698 bytes docs/reference/nlme.mmkin-3.png | Bin 172692 -> 172809 bytes docs/reference/nlme.mmkin.html | 2 +- docs/reference/parms.html | 2 +- docs/reference/plot.mkinfit-1.png | Bin 53151 -> 53333 bytes docs/reference/plot.mkinfit-2.png | Bin 73254 -> 72971 bytes docs/reference/plot.mkinfit-3.png | Bin 67810 -> 67908 bytes docs/reference/plot.mkinfit-4.png | Bin 72295 -> 72505 bytes docs/reference/plot.mkinfit-5.png | Bin 66560 -> 66973 bytes docs/reference/plot.mkinfit-6.png | Bin 72717 -> 72699 bytes docs/reference/plot.mkinfit-7.png | Bin 73553 -> 74240 bytes docs/reference/plot.mkinfit.html | 2 +- docs/reference/plot.mmkin-1.png | Bin 48997 -> 49701 bytes docs/reference/plot.mmkin-2.png | Bin 49376 -> 50025 bytes docs/reference/plot.mmkin-3.png | Bin 46202 -> 46360 bytes docs/reference/plot.mmkin-4.png | Bin 33057 -> 33389 bytes docs/reference/plot.mmkin-5.png | Bin 57372 -> 58129 bytes docs/reference/plot.mmkin.html | 2 +- docs/reference/reexports.html | 2 +- docs/reference/sigma_twocomp-1.png | Bin 43910 -> 43766 bytes docs/reference/sigma_twocomp.html | 2 +- docs/reference/summary.nlme.mmkin.html | 12 ++-- docs/reference/transform_odeparms.html | 2 +- 120 files changed, 213 insertions(+), 109 deletions(-) create mode 100644 docs/articles/FOCUS_D_files/header-attrs-2.7/header-attrs.js create mode 100644 docs/articles/FOCUS_L_files/header-attrs-2.7/header-attrs.js create mode 100644 docs/articles/mkin_files/header-attrs-2.7/header-attrs.js create mode 100644 docs/articles/twa_files/header-attrs-2.7/header-attrs.js create mode 100644 docs/articles/web_only/FOCUS_Z_files/header-attrs-2.7/header-attrs.js create mode 100644 docs/articles/web_only/NAFTA_examples_files/header-attrs-2.7/header-attrs.js create mode 100644 docs/articles/web_only/benchmarks_files/header-attrs-2.7/header-attrs.js (limited to 'docs') diff --git a/docs/articles/FOCUS_D.html b/docs/articles/FOCUS_D.html index 08acf58b..1bfba6e5 100644 --- a/docs/articles/FOCUS_D.html +++ b/docs/articles/FOCUS_D.html @@ -31,7 +31,7 @@ mkin - 1.0.3 + 1.0.4 @@ -94,13 +94,13 @@ -
+
@@ -94,13 +94,13 @@ -
+
@@ -94,13 +94,13 @@ -
+
@@ -94,13 +94,13 @@ -
+
@@ -94,13 +94,13 @@ -
+
@@ -94,13 +94,13 @@ -
+
@@ -94,13 +94,13 @@ -
+
@@ -301,6 +306,12 @@ 6.344 2.798 + +1.0.4 +1.415 +6.364 +2.820 +
@@ -400,6 +411,15 @@ 1.923 2.839 + +1.0.4 +0.785 +1.252 +1.466 +3.091 +1.936 +2.826 +
diff --git a/docs/articles/web_only/benchmarks_files/header-attrs-2.7/header-attrs.js b/docs/articles/web_only/benchmarks_files/header-attrs-2.7/header-attrs.js new file mode 100644 index 00000000..dd57d92e --- /dev/null +++ b/docs/articles/web_only/benchmarks_files/header-attrs-2.7/header-attrs.js @@ -0,0 +1,12 @@ +// Pandoc 2.9 adds attributes on both header and div. We remove the former (to +// be compatible with the behavior of Pandoc < 2.8). +document.addEventListener('DOMContentLoaded', function(e) { + var hs = document.querySelectorAll("div.section[class*='level'] > :first-child"); + var i, h, a; + for (i = 0; i < hs.length; i++) { + h = hs[i]; + if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6 + a = h.attributes; + while (a.length > 0) h.removeAttribute(a[0].name); + } +}); diff --git a/docs/news/index.html b/docs/news/index.html index 3a52a093..fae6503a 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -145,8 +145,8 @@

mkin 1.0.4 (Unreleased)

    -
  • ‘plot.mixed.mmkin’: Reset graphical parameters on exit

  • All plotting functions setting graphical parameters: Use on.exit() for resetting graphical parameters

  • +
  • ‘plot.mkinfit’: Use xlab and xlim for the residual plot if show_residuals is TRUE

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 49dceae1..df454e62 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -10,7 +10,7 @@ articles: web_only/NAFTA_examples: NAFTA_examples.html web_only/benchmarks: benchmarks.html web_only/compiled_models: compiled_models.html -last_built: 2021-02-24T14:04Z +last_built: 2021-03-31T17:15Z urls: reference: https://pkgdown.jrwb.de/mkin/reference article: https://pkgdown.jrwb.de/mkin/articles diff --git a/docs/reference/D24_2014.html b/docs/reference/D24_2014.html index e2d47f1b..c59bfad6 100644 --- a/docs/reference/D24_2014.html +++ b/docs/reference/D24_2014.html @@ -77,7 +77,7 @@ constrained by data protection regulations." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/Extract.mmkin.html b/docs/reference/Extract.mmkin.html index 5a99cf1b..b1c73ba5 100644 --- a/docs/reference/Extract.mmkin.html +++ b/docs/reference/Extract.mmkin.html @@ -72,7 +72,7 @@ mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/Rplot001.png b/docs/reference/Rplot001.png index 1cbcb153..17a35806 100644 Binary files a/docs/reference/Rplot001.png and b/docs/reference/Rplot001.png differ diff --git a/docs/reference/Rplot002.png b/docs/reference/Rplot002.png index 745d583d..808f1968 100644 Binary files a/docs/reference/Rplot002.png and b/docs/reference/Rplot002.png differ diff --git a/docs/reference/Rplot003.png b/docs/reference/Rplot003.png index 19198739..97f650e2 100644 Binary files a/docs/reference/Rplot003.png and b/docs/reference/Rplot003.png differ diff --git a/docs/reference/Rplot004.png b/docs/reference/Rplot004.png index 1028a9c4..21ad6783 100644 Binary files a/docs/reference/Rplot004.png and b/docs/reference/Rplot004.png differ diff --git a/docs/reference/Rplot005.png b/docs/reference/Rplot005.png index aa844051..4828f5b2 100644 Binary files a/docs/reference/Rplot005.png and b/docs/reference/Rplot005.png differ diff --git a/docs/reference/Rplot006.png b/docs/reference/Rplot006.png index 81525882..4aed2c87 100644 Binary files a/docs/reference/Rplot006.png and b/docs/reference/Rplot006.png differ diff --git a/docs/reference/Rplot007.png b/docs/reference/Rplot007.png index 10b7455a..3405a171 100644 Binary files a/docs/reference/Rplot007.png and b/docs/reference/Rplot007.png differ diff --git a/docs/reference/add_err-1.png b/docs/reference/add_err-1.png index 9ba106db..70118923 100644 Binary files a/docs/reference/add_err-1.png and b/docs/reference/add_err-1.png differ diff --git a/docs/reference/add_err-2.png b/docs/reference/add_err-2.png index 3088c40e..69b820c2 100644 Binary files a/docs/reference/add_err-2.png and b/docs/reference/add_err-2.png differ diff --git a/docs/reference/add_err-3.png b/docs/reference/add_err-3.png index 493a761a..1de78fa7 100644 Binary files a/docs/reference/add_err-3.png and b/docs/reference/add_err-3.png differ diff --git a/docs/reference/add_err.html b/docs/reference/add_err.html index 6fbecd14..18ca517e 100644 --- a/docs/reference/add_err.html +++ b/docs/reference/add_err.html @@ -74,7 +74,7 @@ may depend on the predicted value and is specified as a standard deviation." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/confint.mkinfit.html b/docs/reference/confint.mkinfit.html index 06e78459..e81e0c7b 100644 --- a/docs/reference/confint.mkinfit.html +++ b/docs/reference/confint.mkinfit.html @@ -79,7 +79,7 @@ method of Venzon and Moolgavkar (1988)." /> mkin - 1.0.3 + 1.0.4
@@ -285,13 +285,13 @@ Profile-Likelihood Based Confidence Intervals, Applied Statistics, 37, f_d_1 <- mkinfit(SFO_SFO, subset(FOCUS_2006_D, value != 0), quiet = TRUE) system.time(ci_profile <- confint(f_d_1, method = "profile", cores = 1, quiet = TRUE))
#> user system elapsed -#> 4.255 1.029 3.937
# Using more cores does not save much time here, as parent_0 takes up most of the time +#> 3.871 0.000 3.871
# Using more cores does not save much time here, as parent_0 takes up most of the time # If we additionally exclude parent_0 (the confidence of which is often of # minor interest), we get a nice performance improvement if we use at least 4 cores system.time(ci_profile_no_parent_0 <- confint(f_d_1, method = "profile", c("k_parent_sink", "k_parent_m1", "k_m1_sink", "sigma"), cores = n_cores))
#> Profiling the likelihood
#> user system elapsed -#> 1.469 0.092 0.911
ci_profile +#> 1.484 0.116 0.923
ci_profile
#> 2.5% 97.5% #> parent_0 96.456003640 1.027703e+02 #> k_parent_sink 0.040762501 5.549764e-02 diff --git a/docs/reference/dimethenamid_2018.html b/docs/reference/dimethenamid_2018.html index 6845f74f..3b6ae721 100644 --- a/docs/reference/dimethenamid_2018.html +++ b/docs/reference/dimethenamid_2018.html @@ -77,7 +77,7 @@ constrained by data protection regulations." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/experimental_data_for_UBA-1.png b/docs/reference/experimental_data_for_UBA-1.png index 33946ded..5527c07f 100644 Binary files a/docs/reference/experimental_data_for_UBA-1.png and b/docs/reference/experimental_data_for_UBA-1.png differ diff --git a/docs/reference/experimental_data_for_UBA.html b/docs/reference/experimental_data_for_UBA.html index 77f75678..4da8d6c3 100644 --- a/docs/reference/experimental_data_for_UBA.html +++ b/docs/reference/experimental_data_for_UBA.html @@ -100,7 +100,7 @@ Dataset 12 is from the Renewal Assessment Report (RAR) for thifensulfuron-methyl mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/f_time_norm_focus.html b/docs/reference/f_time_norm_focus.html index aa494b27..a0899ac8 100644 --- a/docs/reference/f_time_norm_focus.html +++ b/docs/reference/f_time_norm_focus.html @@ -73,7 +73,7 @@ in Appendix 8 to the FOCUS kinetics guidance (FOCUS 2014, p. 369)." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/focus_soil_moisture.html b/docs/reference/focus_soil_moisture.html index 61f235db..bbacc554 100644 --- a/docs/reference/focus_soil_moisture.html +++ b/docs/reference/focus_soil_moisture.html @@ -73,7 +73,7 @@ corresponds to pF2, MWHC to pF 1 and 1/3 bar to pF 2.5." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/logLik.mkinfit.html b/docs/reference/logLik.mkinfit.html index 9e5b4069..83fb4e48 100644 --- a/docs/reference/logLik.mkinfit.html +++ b/docs/reference/logLik.mkinfit.html @@ -76,7 +76,7 @@ the error model." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/mccall81_245T-1.png b/docs/reference/mccall81_245T-1.png index 91fe060e..478462ae 100644 Binary files a/docs/reference/mccall81_245T-1.png and b/docs/reference/mccall81_245T-1.png differ diff --git a/docs/reference/mccall81_245T.html b/docs/reference/mccall81_245T.html index b7dca4a7..4f8d3fa0 100644 --- a/docs/reference/mccall81_245T.html +++ b/docs/reference/mccall81_245T.html @@ -74,7 +74,7 @@ mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/mixed-1.png b/docs/reference/mixed-1.png index 28a376f4..b9454c86 100644 Binary files a/docs/reference/mixed-1.png and b/docs/reference/mixed-1.png differ diff --git a/docs/reference/mixed.html b/docs/reference/mixed.html index 23d955e3..b4f8db16 100644 --- a/docs/reference/mixed.html +++ b/docs/reference/mixed.html @@ -72,7 +72,7 @@ mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/mkinds.html b/docs/reference/mkinds.html index 5111a9e0..fe89012c 100644 --- a/docs/reference/mkinds.html +++ b/docs/reference/mkinds.html @@ -75,7 +75,7 @@ provided by this package come as mkinds objects nevertheless." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/mkindsg.html b/docs/reference/mkindsg.html index 003e5e8f..a9686e4c 100644 --- a/docs/reference/mkindsg.html +++ b/docs/reference/mkindsg.html @@ -75,7 +75,7 @@ dataset if no data are supplied." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/mkinfit-1.png b/docs/reference/mkinfit-1.png index de2a90a9..e1d0f2f4 100644 Binary files a/docs/reference/mkinfit-1.png and b/docs/reference/mkinfit-1.png differ diff --git a/docs/reference/mkinfit.html b/docs/reference/mkinfit.html index 180f2ee7..2c162e49 100644 --- a/docs/reference/mkinfit.html +++ b/docs/reference/mkinfit.html @@ -80,7 +80,7 @@ likelihood function." /> mkin - 1.0.3 + 1.0.4
@@ -431,10 +431,10 @@ doi: 10.3390/environments6 # Use shorthand notation for parent only degradation fit <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE) summary(fit) -
#> mkin version used for fitting: 1.0.3 -#> R version used for fitting: 4.0.3 -#> Date of fit: Mon Feb 15 13:43:26 2021 -#> Date of summary: Mon Feb 15 13:43:26 2021 +
#> mkin version used for fitting: 1.0.4 +#> R version used for fitting: 4.0.4 +#> Date of fit: Wed Mar 31 19:15:41 2021 +#> Date of summary: Wed Mar 31 19:15:41 2021 #> #> Equations: #> d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent @@ -574,10 +574,10 @@ doi: 10.3390/environments6 analytical = mkinfit(SFO_SFO, FOCUS_D, quiet = TRUE, error_model = "tc", solution_type = "analytical")) } -
#> Warning: NaNs produced
#> Warning: NaNs produced
#> Warning: diag(.) had 0 or NA entries; non-finite result is doubtful
#> mkin version used for fitting: 1.0.3 -#> R version used for fitting: 4.0.3 -#> Date of fit: Mon Feb 15 13:43:38 2021 -#> Date of summary: Mon Feb 15 13:43:38 2021 +
#> Warning: NaNs produced
#> Warning: NaNs produced
#> Warning: diag(.) had 0 or NA entries; non-finite result is doubtful
@@ -348,7 +348,7 @@ Evaluating and Calculating Degradation Kinetics in Environmental Media

parent = mkinsub("SFO", "m1", full_name = "Test compound"), m1 = mkinsub("SFO", full_name = "Metabolite M1"), name = "SFO_SFO", dll_dir = DLL_dir, unload = TRUE, overwrite = TRUE) -
#> Copied DLL from /tmp/RtmpiJ2M4Z/filee097a4a94a921.so to /home/jranke/.local/share/mkin/SFO_SFO.so
# Now we can save the model and restore it in a new session +
#> Copied DLL from /tmp/Rtmp17EVw2/file269cfd5cc541a9.so to /home/jranke/.local/share/mkin/SFO_SFO.so
# Now we can save the model and restore it in a new session saveRDS(SFO_SFO.2, file = "~/SFO_SFO.rds") # Terminate the R session here if you would like to check, and then do library(mkin) @@ -397,7 +397,7 @@ Evaluating and Calculating Degradation Kinetics in Environmental Media

#> }) #> return(predicted) #> } -#> <environment: 0x55555b0c2760>
+#> <environment: 0x55555c17ae90>
# If we have several parallel metabolites # (compare tests/testthat/test_synthetic_data_for_UBA_2014.R) m_synth_DFOP_par <- mkinmod( diff --git a/docs/reference/mkinpredict.html b/docs/reference/mkinpredict.html index 25e26419..5775ba62 100644 --- a/docs/reference/mkinpredict.html +++ b/docs/reference/mkinpredict.html @@ -74,7 +74,7 @@ kinetic parameters and initial values for the state variables." /> mkin - 1.0.3 + 1.0.4
@@ -410,8 +410,8 @@ as these always return mapped output.

#> test relative elapsed #> 2 deSolve_compiled 1.0 0.005 #> 4 analytical 1.0 0.005 -#> 1 eigen 4.4 0.022 -#> 3 deSolve 47.0 0.235
+#> 1 eigen 4.0 0.020 +#> 3 deSolve 46.2 0.231
# \dontrun{ # Predict from a fitted model f <- mkinfit(SFO_SFO, FOCUS_2006_C, quiet = TRUE) diff --git a/docs/reference/mkinresplot-1.png b/docs/reference/mkinresplot-1.png index ffd34f6f..963aa5b7 100644 Binary files a/docs/reference/mkinresplot-1.png and b/docs/reference/mkinresplot-1.png differ diff --git a/docs/reference/mkinresplot.html b/docs/reference/mkinresplot.html index 04ff15b8..fe3150e7 100644 --- a/docs/reference/mkinresplot.html +++ b/docs/reference/mkinresplot.html @@ -75,7 +75,7 @@ argument show_residuals = TRUE." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/mmkin-1.png b/docs/reference/mmkin-1.png index 0db3379f..26586ab9 100644 Binary files a/docs/reference/mmkin-1.png and b/docs/reference/mmkin-1.png differ diff --git a/docs/reference/mmkin-2.png b/docs/reference/mmkin-2.png index 024a9892..dbcdd8ee 100644 Binary files a/docs/reference/mmkin-2.png and b/docs/reference/mmkin-2.png differ diff --git a/docs/reference/mmkin-3.png b/docs/reference/mmkin-3.png index a23d7cb9..80245fc6 100644 Binary files a/docs/reference/mmkin-3.png and b/docs/reference/mmkin-3.png differ diff --git a/docs/reference/mmkin-4.png b/docs/reference/mmkin-4.png index 89975db5..328aa564 100644 Binary files a/docs/reference/mmkin-4.png and b/docs/reference/mmkin-4.png differ diff --git a/docs/reference/mmkin-5.png b/docs/reference/mmkin-5.png index a2f34983..9ce5e919 100644 Binary files a/docs/reference/mmkin-5.png and b/docs/reference/mmkin-5.png differ diff --git a/docs/reference/mmkin.html b/docs/reference/mmkin.html index c9800fe7..c73d14bf 100644 --- a/docs/reference/mmkin.html +++ b/docs/reference/mmkin.html @@ -75,7 +75,7 @@ datasets specified in its first two arguments." /> mkin - 1.0.3 + 1.0.4
@@ -234,9 +234,9 @@ plotting.

time_default
#> user system elapsed -#> 4.630 0.415 1.717
time_1 +#> 5.387 0.413 1.864
time_1
#> user system elapsed -#> 5.694 0.000 5.694
+#> 5.786 0.008 5.794
endpoints(fits.0[["SFO_lin", 2]])
#> $ff #> parent_M1 parent_sink M1_M2 M1_sink diff --git a/docs/reference/nlme-1.png b/docs/reference/nlme-1.png index 728cc557..cca4ce0a 100644 Binary files a/docs/reference/nlme-1.png and b/docs/reference/nlme-1.png differ diff --git a/docs/reference/nlme-2.png b/docs/reference/nlme-2.png index e8167455..c0d8e857 100644 Binary files a/docs/reference/nlme-2.png and b/docs/reference/nlme-2.png differ diff --git a/docs/reference/nlme.html b/docs/reference/nlme.html index 7b0c6a97..c6b43aab 100644 --- a/docs/reference/nlme.html +++ b/docs/reference/nlme.html @@ -75,7 +75,7 @@ datasets. They are used internally by the nlme.mmkin() method." /> mkin - 1.0.3 + 1.0.4
diff --git a/docs/reference/nlme.mmkin-1.png b/docs/reference/nlme.mmkin-1.png index 9186c135..90ede880 100644 Binary files a/docs/reference/nlme.mmkin-1.png and b/docs/reference/nlme.mmkin-1.png differ diff --git a/docs/reference/nlme.mmkin-2.png b/docs/reference/nlme.mmkin-2.png index d395fe02..0d140fd1 100644 Binary files a/docs/reference/nlme.mmkin-2.png and b/docs/reference/nlme.mmkin-2.png differ diff --git a/docs/reference/nlme.mmkin-3.png b/docs/reference/nlme.mmkin-3.png index 40518a59..8a60b52b 100644 Binary files a/docs/reference/nlme.mmkin-3.png and b/docs/reference/nlme.mmkin-3.png differ diff --git a/docs/reference/nlme.mmkin.html b/docs/reference/nlme.mmkin.html index 189e34ef..03448606 100644 --- a/docs/reference/nlme.mmkin.html +++ b/docs/reference/nlme.mmkin.html @@ -74,7 +74,7 @@ have been obtained by fitting the same model to a list of datasets." /> mkin - 1.0.3 + 1.0.4 diff --git a/docs/reference/parms.html b/docs/reference/parms.html index e45d6a5c..b4346b13 100644 --- a/docs/reference/parms.html +++ b/docs/reference/parms.html @@ -74,7 +74,7 @@ considering the error structure that was assumed for the fit." /> mkin - 1.0.3 + 1.0.4 diff --git a/docs/reference/plot.mkinfit-1.png b/docs/reference/plot.mkinfit-1.png index e5da9f1c..54e5c46f 100644 Binary files a/docs/reference/plot.mkinfit-1.png and b/docs/reference/plot.mkinfit-1.png differ diff --git a/docs/reference/plot.mkinfit-2.png b/docs/reference/plot.mkinfit-2.png index a11d1680..ff8418a3 100644 Binary files a/docs/reference/plot.mkinfit-2.png and b/docs/reference/plot.mkinfit-2.png differ diff --git a/docs/reference/plot.mkinfit-3.png b/docs/reference/plot.mkinfit-3.png index c976d4b1..54f2b981 100644 Binary files a/docs/reference/plot.mkinfit-3.png and b/docs/reference/plot.mkinfit-3.png differ diff --git a/docs/reference/plot.mkinfit-4.png b/docs/reference/plot.mkinfit-4.png index c8bc00fe..7a7bfc6c 100644 Binary files a/docs/reference/plot.mkinfit-4.png and b/docs/reference/plot.mkinfit-4.png differ diff --git a/docs/reference/plot.mkinfit-5.png b/docs/reference/plot.mkinfit-5.png index 6631aa68..6a6741e7 100644 Binary files a/docs/reference/plot.mkinfit-5.png and b/docs/reference/plot.mkinfit-5.png differ diff --git a/docs/reference/plot.mkinfit-6.png b/docs/reference/plot.mkinfit-6.png index 946b20c5..c4d0b9c7 100644 Binary files a/docs/reference/plot.mkinfit-6.png and b/docs/reference/plot.mkinfit-6.png differ diff --git a/docs/reference/plot.mkinfit-7.png b/docs/reference/plot.mkinfit-7.png index 10807ea8..802b00ef 100644 Binary files a/docs/reference/plot.mkinfit-7.png and b/docs/reference/plot.mkinfit-7.png differ diff --git a/docs/reference/plot.mkinfit.html b/docs/reference/plot.mkinfit.html index b80c672d..ff6da93e 100644 --- a/docs/reference/plot.mkinfit.html +++ b/docs/reference/plot.mkinfit.html @@ -74,7 +74,7 @@ observed data together with the solution of the fitted model." /> mkin - 1.0.3 + 1.0.4 diff --git a/docs/reference/plot.mmkin-1.png b/docs/reference/plot.mmkin-1.png index 647dfb8a..d06d683c 100644 Binary files a/docs/reference/plot.mmkin-1.png and b/docs/reference/plot.mmkin-1.png differ diff --git a/docs/reference/plot.mmkin-2.png b/docs/reference/plot.mmkin-2.png index 1bc1c9db..d3678aca 100644 Binary files a/docs/reference/plot.mmkin-2.png and b/docs/reference/plot.mmkin-2.png differ diff --git a/docs/reference/plot.mmkin-3.png b/docs/reference/plot.mmkin-3.png index 50d6ffac..f84d5782 100644 Binary files a/docs/reference/plot.mmkin-3.png and b/docs/reference/plot.mmkin-3.png differ diff --git a/docs/reference/plot.mmkin-4.png b/docs/reference/plot.mmkin-4.png index e049fa16..9919dacb 100644 Binary files a/docs/reference/plot.mmkin-4.png and b/docs/reference/plot.mmkin-4.png differ diff --git a/docs/reference/plot.mmkin-5.png b/docs/reference/plot.mmkin-5.png index 2421995b..945b863f 100644 Binary files a/docs/reference/plot.mmkin-5.png and b/docs/reference/plot.mmkin-5.png differ diff --git a/docs/reference/plot.mmkin.html b/docs/reference/plot.mmkin.html index 20f9033d..3348e050 100644 --- a/docs/reference/plot.mmkin.html +++ b/docs/reference/plot.mmkin.html @@ -76,7 +76,7 @@ the fit of at least one model to the same dataset is shown." /> mkin - 1.0.3 + 1.0.4 diff --git a/docs/reference/reexports.html b/docs/reference/reexports.html index 864c4ff9..c6d716a1 100644 --- a/docs/reference/reexports.html +++ b/docs/reference/reexports.html @@ -79,7 +79,7 @@ below to see their documentation. mkin - 1.0.3 + 1.0.4 diff --git a/docs/reference/sigma_twocomp-1.png b/docs/reference/sigma_twocomp-1.png index 6e61684e..fddb86a7 100644 Binary files a/docs/reference/sigma_twocomp-1.png and b/docs/reference/sigma_twocomp-1.png differ diff --git a/docs/reference/sigma_twocomp.html b/docs/reference/sigma_twocomp.html index 397582f0..1b4e45e4 100644 --- a/docs/reference/sigma_twocomp.html +++ b/docs/reference/sigma_twocomp.html @@ -73,7 +73,7 @@ dependence of the measured value \(y\):" /> mkin - 1.0.3 + 1.0.4 diff --git a/docs/reference/summary.nlme.mmkin.html b/docs/reference/summary.nlme.mmkin.html index d6840425..8df9011d 100644 --- a/docs/reference/summary.nlme.mmkin.html +++ b/docs/reference/summary.nlme.mmkin.html @@ -76,7 +76,7 @@ endpoints such as formation fractions and DT50 values. Optionally mkin - 1.0.3 + 1.0.4 @@ -265,10 +265,10 @@ José Pinheiro and Douglas Bates for the components inherited from nlme

#> iteration limit reached without convergence (10)
f_nlme <- nlme(f_mmkin)
#> Warning: Iteration 4, LME step: nlminb() did not converge (code = 1). PORT message: false convergence (8)
summary(f_nlme, data = TRUE)
#> nlme version used for fitting: 3.1.152 -#> mkin version used for pre-fitting: 1.0.3 -#> R version used for fitting: 4.0.3 -#> Date of fit: Mon Feb 15 13:46:13 2021 -#> Date of summary: Mon Feb 15 13:46:13 2021 +#> mkin version used for pre-fitting: 1.0.4 +#> R version used for fitting: 4.0.4 +#> Date of fit: Wed Mar 31 19:18:24 2021 +#> Date of summary: Wed Mar 31 19:18:24 2021 #> #> Equations: #> d_parent/dt = - k_parent * parent @@ -278,7 +278,7 @@ José Pinheiro and Douglas Bates for the components inherited from nlme

#> #> Model predictions using solution type analytical #> -#> Fitted in 0.553 s using 4 iterations +#> Fitted in 0.537 s using 4 iterations #> #> Variance model: Two-component variance function #> diff --git a/docs/reference/transform_odeparms.html b/docs/reference/transform_odeparms.html index c3c756f6..bbaad91e 100644 --- a/docs/reference/transform_odeparms.html +++ b/docs/reference/transform_odeparms.html @@ -77,7 +77,7 @@ the ilr transformation is used." /> mkin - 1.0.3 + 1.0.4
-- cgit v1.2.1 From c74b79c983fe9fc872bac1262040e82f16049477 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 21 Apr 2021 13:11:47 +0200 Subject: Version 1.0.4 published yesterday --- docs/news/index.html | 1 + docs/pkgdown.yml | 2 +- docs/reference/Rplot001.png | Bin 1011 -> 27637 bytes docs/reference/Rplot002.png | Bin 16524 -> 59394 bytes docs/reference/Rplot003.png | Bin 15401 -> 33192 bytes docs/reference/Rplot004.png | Bin 10689 -> 23509 bytes docs/reference/Rplot005.png | Bin 19483 -> 23509 bytes docs/reference/Rplot006.png | Bin 24302 -> 22129 bytes docs/reference/mmkin-1.png | Bin 111569 -> 110844 bytes docs/reference/mmkin-2.png | Bin 108319 -> 107612 bytes docs/reference/mmkin-3.png | Bin 96596 -> 96248 bytes docs/reference/mmkin-4.png | Bin 67345 -> 66653 bytes docs/reference/mmkin-5.png | Bin 65269 -> 65046 bytes docs/reference/mmkin.html | 9 +++++---- docs/reference/nlme-1.png | Bin 70276 -> 70244 bytes docs/reference/plot.mixed.mmkin-1.png | Bin 85433 -> 84976 bytes 16 files changed, 7 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/news/index.html b/docs/news/index.html index fae6503a..2905c120 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -147,6 +147,7 @@
  • All plotting functions setting graphical parameters: Use on.exit() for resetting graphical parameters

  • ‘plot.mkinfit’: Use xlab and xlim for the residual plot if show_residuals is TRUE

  • +
  • ‘mmkin’: Use cores = 1 per default on Windows to make it easier for first time users

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index df454e62..3f97ea94 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -10,7 +10,7 @@ articles: web_only/NAFTA_examples: NAFTA_examples.html web_only/benchmarks: benchmarks.html web_only/compiled_models: compiled_models.html -last_built: 2021-03-31T17:15Z +last_built: 2021-04-20T14:34Z urls: reference: https://pkgdown.jrwb.de/mkin/reference article: https://pkgdown.jrwb.de/mkin/articles diff --git a/docs/reference/Rplot001.png b/docs/reference/Rplot001.png index 17a35806..49fb9af1 100644 Binary files a/docs/reference/Rplot001.png and b/docs/reference/Rplot001.png differ diff --git a/docs/reference/Rplot002.png b/docs/reference/Rplot002.png index 808f1968..745d583d 100644 Binary files a/docs/reference/Rplot002.png and b/docs/reference/Rplot002.png differ diff --git a/docs/reference/Rplot003.png b/docs/reference/Rplot003.png index 97f650e2..eba202e9 100644 Binary files a/docs/reference/Rplot003.png and b/docs/reference/Rplot003.png differ diff --git a/docs/reference/Rplot004.png b/docs/reference/Rplot004.png index 21ad6783..a4f878c8 100644 Binary files a/docs/reference/Rplot004.png and b/docs/reference/Rplot004.png differ diff --git a/docs/reference/Rplot005.png b/docs/reference/Rplot005.png index 4828f5b2..a4f878c8 100644 Binary files a/docs/reference/Rplot005.png and b/docs/reference/Rplot005.png differ diff --git a/docs/reference/Rplot006.png b/docs/reference/Rplot006.png index 4aed2c87..ff8a5d83 100644 Binary files a/docs/reference/Rplot006.png and b/docs/reference/Rplot006.png differ diff --git a/docs/reference/mmkin-1.png b/docs/reference/mmkin-1.png index 26586ab9..f6bb2131 100644 Binary files a/docs/reference/mmkin-1.png and b/docs/reference/mmkin-1.png differ diff --git a/docs/reference/mmkin-2.png b/docs/reference/mmkin-2.png index dbcdd8ee..50102a3d 100644 Binary files a/docs/reference/mmkin-2.png and b/docs/reference/mmkin-2.png differ diff --git a/docs/reference/mmkin-3.png b/docs/reference/mmkin-3.png index 80245fc6..9aa7f0db 100644 Binary files a/docs/reference/mmkin-3.png and b/docs/reference/mmkin-3.png differ diff --git a/docs/reference/mmkin-4.png b/docs/reference/mmkin-4.png index 328aa564..f4f413d1 100644 Binary files a/docs/reference/mmkin-4.png and b/docs/reference/mmkin-4.png differ diff --git a/docs/reference/mmkin-5.png b/docs/reference/mmkin-5.png index 9ce5e919..48ab2c50 100644 Binary files a/docs/reference/mmkin-5.png and b/docs/reference/mmkin-5.png differ diff --git a/docs/reference/mmkin.html b/docs/reference/mmkin.html index c73d14bf..caba300e 100644 --- a/docs/reference/mmkin.html +++ b/docs/reference/mmkin.html @@ -155,7 +155,7 @@ datasets specified in its first two arguments.

mmkin(
   models = c("SFO", "FOMC", "DFOP"),
   datasets,
-  cores = parallel::detectCores(),
+  cores = if (Sys.info()["sysname"] == "Windows") 1 else parallel::detectCores(),
   cluster = NULL,
   ...
 )
@@ -183,7 +183,8 @@ data for mkinfit.

is only used when the cluster argument is NULL. On Windows machines, cores > 1 is not supported, you need to use the cluster argument to use multiple logical processors. Per default, all cores -detected by parallel::detectCores() are used.

+detected by parallel::detectCores() are used, except on Windows where +the default is 1.

cluster @@ -234,9 +235,9 @@ plotting.

time_default
#> user system elapsed -#> 5.387 0.413 1.864
time_1 +#> 4.656 0.403 1.734
time_1
#> user system elapsed -#> 5.786 0.008 5.794
+#> 5.627 0.004 5.631
endpoints(fits.0[["SFO_lin", 2]])
#> $ff #> parent_M1 parent_sink M1_M2 M1_sink diff --git a/docs/reference/nlme-1.png b/docs/reference/nlme-1.png index cca4ce0a..c41adc27 100644 Binary files a/docs/reference/nlme-1.png and b/docs/reference/nlme-1.png differ diff --git a/docs/reference/plot.mixed.mmkin-1.png b/docs/reference/plot.mixed.mmkin-1.png index 2224d96e..65660abe 100644 Binary files a/docs/reference/plot.mixed.mmkin-1.png and b/docs/reference/plot.mixed.mmkin-1.png differ -- cgit v1.2.1