aboutsummaryrefslogtreecommitdiff
path: root/man/max_twa.Rd
blob: 0a8dccaffb2787fa76442959520a084c75de299d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/twa.R
\name{max_twa}
\alias{max_twa}
\title{The maximum time weighted average concentration for a moving window}
\usage{
max_twa(x, window = 21)
}
\arguments{
\item{x}{An object of type \code{\link{one_box}}}

\item{window}{The size of the moving window}
}
\description{
If you generate your time series using \code{\link{sawtooth}},
you need to make sure that the length of the time series allows
for finding the maximum. It is therefore recommended to check this using
\code{\link{plot.one_box}} using the window size for the argument
\code{max_twa}.
}
\details{
The method working directly on fitted \code{\link{mkinfit}} objects uses the
equations given in the PEC soil section of the FOCUS guidance and is restricted
SFO, FOMC and DFOP models and to the parent compound
}
\examples{
pred <- sawtooth(one_box(10),
  applications = data.frame(time = c(0, 7), amount = c(1, 1)))
max_twa(pred)
pred_FOMC <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE)
max_twa(pred_FOMC)
}
\references{
FOCUS (2006) \dQuote{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,
  \url{http://esdac.jrc.ec.europa.eu/projects/degradation-kinetics}
}
\seealso{
\code{\link{twa}}
}

Contact - Imprint