Learn R Programming

mkin (version 0.9.49.5)

max_twa_parent: Function to calculate maximum time weighted average concentrations from kinetic models fitted with mkinfit

Description

This function calculates maximum moving window time weighted average concentrations (TWAs) for kinetic models fitted with mkinfit. Currently, only calculations for the parent are implemented for the SFO, FOMC, DFOP and HS models, using the analytical formulas given in the PEC soil section of the FOCUS guidance.

Usage

max_twa_parent(fit, windows)

Arguments

fit

An object of class mkinfit.

windows

The width of the time windows for which the TWAs should be calculated.

Value

A numeric vector, named using the windows argument.

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://esdac.jrc.ec.europa.eu/projects/degradation-kinetics

Examples

Run this code
# NOT RUN {
  fit <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE)
  max_twa_parent(fit, c(7, 21))  
# }

Run the code above in your browser using DataLab