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 +++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 29 deletions(-) (limited to 'docs/articles/gmkin_manual.html') 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.

    -- cgit v1.2.1