mkin
Kinetic Evaluation of Chemical Degradation Data
Description
Calculation routines based on the FOCUS Kinetics Report (2006, 2014). Includes a function for conveniently defining differential equation models, model solution based on eigenvalues if possible or using numerical solvers. If a C compiler (on windows: 'Rtools') is installed, differential equation models are solved using automatically generated C functions. Non-constant errors can be taken into account using variance by variable or two-component error models <doi:10.3390/environments6120124>. Hierarchical degradation models can be fitted using nonlinear mixed-effects model packages as a back end <doi:10.3390/environments8080071>. Please note that no warranty is implied for correctness of results or fitness for a particular purpose.
Downloads
603
Last 30 days
6576th
1.6K
Last 90 days
9.3K
Last year
Trend: -14.8% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 10, 2026
examples
Running examples in 'mkin-Ex.R' failed
The error most likely occurred in:
> ### Name: [.mmkin
> ### Title: Subsetting method for mmkin objects
> ### Aliases: [.mmkin
>
> ### ** Examples
>
>
> # Only use one core, to pass R CMD check --as-cran
> fits <- mmkin(c("SFO", "FOMC"), list(B = FOCUS_2006_B, C = FOCUS_2006_C),
+ cores = 1, quiet = TRUE)
examples
Running examples in 'mkin-Ex.R' failed The error most likely occurred in: > ### Name: add_err > ### Title: Add normally distributed errors to simulated kinetic degradation > ### data > ### Aliases: add_err > > ### ** Examples > > > # The kineti ...[truncated]... or in checkInput(y, times, func, rtol, atol, jacfunc, tcrit, hmin, : specify the name of the dll or shared library where func can be found (without extension) Calls: mkinpredict -> mkinpredict.mkinmod -> <Anonymous> -> checkInput Execution halted