mkin1.2.6 package

Kinetic Evaluation of Chemical Degradation Data

mkinparplot

Function to plot the confidence intervals obtained using mkinfit

mkinplot

Plot the observed data and the fitted model of an mkinfit object

mkinpredict

Produce predictions from a kinetic model using specific parameters

add_err

Add normally distributed errors to simulated kinetic degradation data

AIC.mmkin

Calculate the AIC for a column of an mmkin object

anova.saem.mmkin

Anova method for saem.mmkin objects

aw

Calculate Akaike weights for model averaging

logLik.saem.mmkin

logLik method for saem.mmkin objects

CAKE_export

Export a list of datasets format to a CAKE study file

confint.mkinfit

Confidence intervals for parameters of mkinfit objects

create_deg_func

Create degradation functions for known analytical solutions

DFOP.solution

Double First-Order in Parallel kinetics

endpoints

Function to calculate endpoints for further use from kinetic models fi...

experimental_data_for_UBA

Experimental datasets used for development and testing of error models

Extract.mmkin

Subsetting method for mmkin objects

f_time_norm_focus

Normalisation factors for aerobic soil degradation according to FOCUS ...

FOMC.solution

First-Order Multi-Compartment kinetics

get_deg_func

Retrieve a degradation function from the mmkin namespace

lrtest.mkinfit

Likelihood ratio test for mkinfit models

hierarchical_kinetics

Hierarchical kinetics template

HS.solution

Hockey-Stick kinetics

illparms

Method to get the names of ill-defined parameters

ilr

Function to perform isometric log-ratio transformation

intervals.saem.mmkin

Confidence intervals for parameters in saem.mmkin objects

IORE.solution

Indeterminate order rate equation kinetics

llhist

Plot the distribution of log likelihoods from multistart objects

loftest

Lack-of-fit test for models fitted to data with replicates

logistic.solution

Logistic kinetics

logLik.mkinfit

Calculated the log-likelihood of a fitted mkinfit object

max_twa_parent

Function to calculate maximum time weighted average concentrations fro...

mean_degparms

Calculate mean degradation parameters for an mmkin row object

mhmkin

Fit nonlinear mixed-effects models built from one or more kinetic degr...

mixed

Create a mixed effects model from an mmkin row object

mkin_long_to_wide

Convert a dataframe from long to wide format

mkin_wide_to_long

Convert a dataframe with observations over time into long format

mkinds

A dataset class for mkin

mkindsg

A class for dataset groups for mkin

mkinerrmin

Calculate the minimum error to assume in order to pass the variance te...

mkinerrplot

Function to plot squared residuals and the error model for an mkin obj...

mkinfit

Fit a kinetic model to data with one or more state variables

mkinmod

Function to set up a kinetic model with one or more state variables

mkinresplot

Function to plot residuals stored in an mkin object

mmkin

Fit one or more kinetic models with one or more state variables to one...

multistart

Perform a hierarchical model fit with multiple starting values

nafta

Evaluate parent kinetics using the NAFTA guidance

nlme.mmkin

Create an nlme model for an mmkin row object

nlme

Helper functions to create nlme models from mmkin row objects

nobs.mkinfit

Number of observations on which an mkinfit object was fitted

update.mkinfit

Update an mkinfit model with different arguments

parms

Extract model parameters

parplot

Plot parameter variability of multistart objects

plot.mixed.mmkin

Plot predictions from a fitted nonlinear mixed model obtained via an m...

plot.mkinfit

Plot the observed data and the fitted model of an mkinfit object

plot.mmkin

Plot model fits (observed and fitted) and the residuals for a row or c...

plot.nafta

Plot the results of the three models used in the NAFTA scheme.

read_spreadsheet

Read datasets and relevant meta information from a spreadsheet file

reexports

Objects exported from other packages

residuals.mkinfit

Extract residuals from an mkinfit model

saem

Fit nonlinear mixed models with SAEM

set_nd_nq

Set non-detects and unquantified values in residue series without repl...

SFO.solution

Single First-Order kinetics

SFORB.solution

Single First-Order Reversible Binding kinetics

sigma_twocomp

Two-component error model

status

Method to get status information for fit array objects

summary.mkinfit

Summary method for class "mkinfit"

summary.mmkin

Summary method for class "mmkin"

summary.nlme.mmkin

Summary method for class "nlme.mmkin"

summary.saem.mmkin

Summary method for class "saem.mmkin"

summary_listing

Display the output of a summary function according to the output forma...

transform_odeparms

Functions to transform and backtransform kinetic parameters for fittin...

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. Heteroscedasticity can be taken into account using variance by variable or two-component error models as described by Ranke and Meinecke (2018) <doi:10.3390/environments6120124>. Hierarchical degradation models can be fitted using nonlinear mixed-effects model packages as a back end as described by Ranke et al. (2021) <doi:10.3390/environments8080071>. Please note that no warranty is implied for correctness of results or fitness for a particular purpose.

  • Maintainer: Johannes Ranke
  • License: GPL
  • Last published: 2023-10-14