From 9a1e685a636f7632fc77c7375f9d42735be2decc Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 9 Jul 2019 12:34:04 +0200 Subject: More adaptations to mkin 0.9.49.6, update manual Static documentation rebuilt by pkgdown --- docs/articles/gmkin_manual.html | 55 ++++++++++++++++------------------ docs/articles/img/configuration.png | Bin 100479 -> 152482 bytes docs/articles/img/gmkin_start.png | Bin 97244 -> 87653 bytes docs/articles/img/plotoptions.png | Bin 15186 -> 14740 bytes docs/articles/index.html | 4 +-- docs/authors.html | 4 +-- docs/gmkin_screenshot.png | Bin 134864 -> 182718 bytes docs/index.html | 7 +++-- docs/news/index.html | 4 +-- docs/pkgdown.yml | 2 +- docs/reference/FOCUS_2006.html | 4 +-- docs/reference/FOCUS_2006_Z.html | 4 +-- docs/reference/UBA_model_gallery.html | 4 +-- docs/reference/gmkin.html | 48 ++++++++++------------------- docs/reference/gmkinws.html | 4 +-- docs/reference/index.html | 4 +-- 16 files changed, 62 insertions(+), 82 deletions(-) (limited to 'docs') diff --git a/docs/articles/gmkin_manual.html b/docs/articles/gmkin_manual.html index 5d7d5b3..c1e58ec 100644 --- a/docs/articles/gmkin_manual.html +++ b/docs/articles/gmkin_manual.html @@ -30,7 +30,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -76,7 +76,7 @@

Manual for gmkin

Johannes Ranke

-

2019-03-14

+

2019-07-09

@@ -88,8 +88,8 @@

Introduction

-

The R add-on package gmkin provides a browser based graphical interface for performing kinetic evaluations of degradation data using the mkin package. While the use of gmkin should be largely self-explanatory, this manual may serve as a functionality overview and reference.

-

For system requirements and installation instructions, please refer to the gmkin homepage.

+

The R add-on package gmkin provides a browser based graphical interface for performing kinetic evaluations of degradation data using the mkin package. While the use of gmkin should be largely self-explanatory, this manual may serve as a functionality overview and reference.

+

For system requirements and installation instructions, please refer to the gmkin homepage.

@@ -216,10 +216,8 @@

The parameters “atol” and “rtol” are only effective if the solution type is “deSolve”. They control the precision of the iterative numerical solution of the differential equation model.

The checkboxes “transform_rates” and “transform_fractions” control if the parameters are fitted as defined in the model, or if they are internally transformed during the fitting process in order to improve the estimation of standard errors and confidence intervals which are based on a linear approximation at the optimum found by the fitting algorithm.

If fitting with transformed fractions leads to a suboptimal fit, doing a first run without transforming fractions may help. A final run using the optimised parameters from the previous run as starting values (see comment on “Get initials from” above) can then be performed with transformed fractions.

-

The dropdown box “weight” specifies if and how the observed values should be weighted in the fitting process. If “manual” is chosen, the values in the “err” column of the dataset are used, which are set to unity by default. Setting these to higher values gives lower weight and vice versa. If “none” is chosen, observed values are not weighted. Please refer to the documentation of the modFit function from the FME package for the meaning of options “std” and “mean”.

-

If the “IRLS” option is set to “obs”, then we make use of iteratively reweighted least squares fitting. Please refer to the mkinfit documentation for more details. IRLS fitting can be configured using the options “reweight.tol” and “reweight.max.iter”.

-

The drop down box “method.modFit” makes it possible to choose between the optimisation algorithms “Port” (the default in mkin versions > 0.9-33, a local optimisation algorithm using a model/trust region approach), “Marq” (the former default in mkin, a Levenberg-Marquardt variant from the R package minpack.lm), and “SANN” (the simulated annealing method - robust but inefficient and without a convergence criterion).

-

Finally, the maximum number of iterations for the optimisation can be adapted using the “maxit.modFit” field.

+

If the “error_model” option is set to “obs” or “tc”, then a suitable “error_model_algorithm” has to be selected. The recommended algorithm for these error model is “d_3”, which is the one selected by “mkin” for there error models. Please refer to the mkinfit documentation for more details. IRLS fitting can be configured using the options “reweight.tol” and “reweight.max.iter”.

+

The maximum number of iterations for the optimisation can be adapted using the “maxit” field.

@@ -228,7 +226,7 @@
plot options

plot options

-

On systems running the Windows operating system, the windows metafile (wmf) format can be additionally chosen. Changing the file format for plotting will also change the extension of the proposed filename for saving the plot.

+

On systems running the Windows operating system, the enhanced metafile (emf) format can be additionally chosen. Changing the file format for plotting will also change the extension of the proposed filename for saving the plot.

@@ -242,23 +240,21 @@

Fitting the model

In many cases the starting parameters and the fit options do not need to be modified and the model fitting process can simply be started by pressing the “Run fit” button. In the R console, the progressive reduction in the model cost can be monitored and will be displayed in the following way:

- +

If plotting of the fitting progress was selected, a new separate graphics window should either pop up, or a graphics window previously started for this purpose will be reused.

If your screen size allows for it, you can arrange the R plotting window and the R console in a way that you can see everything at the same time:

@@ -326,7 +322,7 @@
  • Press ‘Keep changes’
  • Select the ‘Model gallery’ to the right
  • From the model gallery, press ‘FOMC, one met’ below the corresponding model scheme
  • -
  • In the dataset explorer, select ‘Test dataset howto 2’
  • +
  • In the dataset explorer, select ‘Data howto 2’
  • In the model explorer, select ‘FOMC, one met’
  • In the configuration display, press ‘Configure fit’
  • In the configuration editor in the center, press ‘Run fit’
  • @@ -355,7 +351,8 @@
  • Enter ‘DFOP lin’ as the model name
  • Select ‘max’ in the dropbox ‘Use of formation fractions’
  • Press ‘Add observed variable’ three times
  • -
  • In the line where ‘parent’ is selected, in the dropbox after the word ‘to’, select ‘M1’
  • +
  • In the line where ‘parent’ is selected, in the dropbox to the right change ‘SFO’ to ‘DFOP’
  • +
  • In the line where ‘parent’ is selected, after the word ‘to’, select ‘M1’
  • Click outside the dropbox
  • In the line where ‘M1’ is selected, in the dropbox after the word ‘to’, select ‘M2’
  • Click outside the dropbox
  • @@ -400,7 +397,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/articles/img/configuration.png b/docs/articles/img/configuration.png index 1a18608..12dc195 100644 Binary files a/docs/articles/img/configuration.png and b/docs/articles/img/configuration.png differ diff --git a/docs/articles/img/gmkin_start.png b/docs/articles/img/gmkin_start.png index 9b494ec..92d2325 100644 Binary files a/docs/articles/img/gmkin_start.png and b/docs/articles/img/gmkin_start.png differ diff --git a/docs/articles/img/plotoptions.png b/docs/articles/img/plotoptions.png index 24cda2d..a3f1b06 100644 Binary files a/docs/articles/img/plotoptions.png and b/docs/articles/img/plotoptions.png differ diff --git a/docs/articles/index.html b/docs/articles/index.html index bb2278b..49817ae 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -60,7 +60,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -126,7 +126,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/authors.html b/docs/authors.html index 85ee6e1..f148358 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -60,7 +60,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -135,7 +135,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/gmkin_screenshot.png b/docs/gmkin_screenshot.png index 3a1afa7..38b1ad0 100644 Binary files a/docs/gmkin_screenshot.png and b/docs/gmkin_screenshot.png differ diff --git a/docs/index.html b/docs/index.html index a9c7511..f2daa55 100644 --- a/docs/index.html +++ b/docs/index.html @@ -32,7 +32,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -82,7 +82,7 @@

    System requirements

    For running gmkin you need a system running a recent version of R (version 3.1.0 or later), the gWidgesWWW2 package, the gmkin package and a web browser (Firefox/Iceweasel and Chrome work for me) with JavaScript enabled.

    -

    It should be possible to run gmkin on most laptop or desktop computers running Linux, Mac OS X, Windows XP or Windows 7. It is frequently checked under Linux and Windows 7.

    +

    It should be possible to run gmkin on most laptop or desktop computers running Linux, Mac OS X, Windows 7 or Windows 10.

    To view the complete set of widgets in the browser window without resizing anything, it needs a screen space of 1366x740 pixels.

    @@ -159,6 +159,7 @@

    Acknowledgements

    Financial support, feedback and suggestions by the German Federal Environmental Agency (Umweltbundesamt) in two projects in 2014 and 2015 was crucial for reaching version 0.6.3 in November 2015 and is gratefully acknowledged. In particular, Stefan Meinecke contributed with a lot of user feedback and suggestions for improvement in that time.

    +

    The adaptation to mkin versions > 0.9.49.6 that can do fits using a two-component error model was supported by another project by the Umweltbundesamt in 2018/2019.

    @@ -193,7 +194,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/news/index.html b/docs/news/index.html index 5055106..f9e4e28 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -60,7 +60,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -128,7 +128,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index b60ebd0..85c5bf3 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,5 +1,5 @@ pandoc: 2.2.1 -pkgdown: 1.3.0.9000 +pkgdown: 1.3.0 pkgdown_sha: ~ articles: gmkin_manual: gmkin_manual.html diff --git a/docs/reference/FOCUS_2006.html b/docs/reference/FOCUS_2006.html index 57bb310..9066d83 100644 --- a/docs/reference/FOCUS_2006.html +++ b/docs/reference/FOCUS_2006.html @@ -65,7 +65,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -168,7 +168,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/reference/FOCUS_2006_Z.html b/docs/reference/FOCUS_2006_Z.html index e3309c7..8df70a6 100644 --- a/docs/reference/FOCUS_2006_Z.html +++ b/docs/reference/FOCUS_2006_Z.html @@ -63,7 +63,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -163,7 +163,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/reference/UBA_model_gallery.html b/docs/reference/UBA_model_gallery.html index 3cf9e12..d302d27 100644 --- a/docs/reference/UBA_model_gallery.html +++ b/docs/reference/UBA_model_gallery.html @@ -68,7 +68,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -169,7 +169,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/reference/gmkin.html b/docs/reference/gmkin.html index 8740e7d..f3e9729 100644 --- a/docs/reference/gmkin.html +++ b/docs/reference/gmkin.html @@ -33,8 +33,8 @@ +github page of gWidgetsWWW2 +for an explanation how this toolkit works." /> @@ -65,7 +65,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -119,8 +119,8 @@

    This function starts a browser based GUI. Please visit the - github page of gWidgetsWWW2 - for an explanation how this toolkit works.

    +github page of gWidgetsWWW2 +for an explanation how this toolkit works.

    @@ -131,38 +131,24 @@ script_name -

    During development, a script name with a local working version - of gmkin can be passed. Defaults to the location of the gmkin.R script - shipped with the package.

    +

    During development, a script name with a local working +version of gmkin can be passed. Defaults to the location of the gmkin.R +script shipped with the package.

    show.log -

    During development, it may be useful to see the log of the Rook apps.

    +

    During development, it may be useful to see the log of the +Rook apps.

    Value

    -

    The function is called for its side effect, namely starting the GUI in a browser. - For the curious, the desperate or the adventurous, the gmkin app (a GWidgetsApp object) is returned.

    +

    The function is called for its side effect, namely starting the GUI + in a browser. For the curious, the desperate or the adventurous, the gmkin + app (a GWidgetsApp object) is returned.

    -

    Examples

    -
    # NOT RUN { -gmkin() -# }
    # Start the gmkin GUI -
    # NOT RUN { - g <- gmkin() - - # Only for debugging or other advanced usage: - session <- gmkin:::get_current_session(g) - session$p.df - session$ds.df - session$ds.cur - session$m.cur - session$ws - -# }
    @@ -185,7 +167,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/reference/gmkinws.html b/docs/reference/gmkinws.html index d2f667f..4a264e9 100644 --- a/docs/reference/gmkinws.html +++ b/docs/reference/gmkinws.html @@ -63,7 +63,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -157,7 +157,7 @@ by the names used in the models contained in field m

    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    diff --git a/docs/reference/index.html b/docs/reference/index.html index cc279d2..96635b9 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -60,7 +60,7 @@ gmkin - 0.6.9 + 0.6.10 @@ -173,7 +173,7 @@
    -

    Site built with pkgdown 1.3.0.9000.

    +

    Site built with pkgdown 1.3.0.

    -- cgit v1.2.1