Learn R Programming

kinfit (version 1.1.14)

kinerrmin: Calculate the minimum error to assume in order to pass the variance test

Description

This function uses optimize in order to iteratively find the smallest relative error still resulting in passing the chi-squared test as defined in the FOCUS kinetics report from 2006.

Usage

kinerrmin(kinfits, kinmodel = "SFO", alpha = 0.05)

Arguments

kinfits
The list of kinetic model(s) from which to select. Usually this will have been generated by kinfit.
kinmodel
The kinetic model to be checked. Should be one of the names of the kinetic models used for generating kinfits.
alpha
The confidence level chosen for the chi-squared test.

Value

The relative error, expressed as a fraction.

References

FOCUS (2006) “Guidance Document on Estimating Persistence and Degradation Kinetics from Environmental Fate Studies on Pesticides in EU Registration” Report of the FOCUS Work Group on Degradation Kinetics, EC Document Reference Sanco/10058/2005 version 2.0, 434 pp, http://focus.jrc.ec.europa.eu/dk

Examples

Run this code
data(FOCUS_2006_A)
kinfits <- kinfit(FOCUS_2006_A)
kinerrmin(kinfits)

Run the code above in your browser using DataLab