From aed160d7f0eaf5865e2bd9bf6c4b1c9d7b13d911 Mon Sep 17 00:00:00 2001 From: Ranke Johannes Date: Wed, 31 Jan 2024 13:16:17 +0100 Subject: Reorganise data generation - Use inst/data_generation for R code generating data as in some of my other packages - data/*.RData files were checked using https://github.com/jranke/dotfiles/blob/main/bin/rda_diff contents were not changed - Remove ChangeLog, the history is in the git logs - Update docs and some links contained therein - use \doi{} markup - Move logs to log directory --- docs/reference/max_twa.html | 213 ++++++++++++++------------------------------ 1 file changed, 69 insertions(+), 144 deletions(-) (limited to 'docs/reference/max_twa.html') diff --git a/docs/reference/max_twa.html b/docs/reference/max_twa.html index 1d24c2a..c0387d7 100644 --- a/docs/reference/max_twa.html +++ b/docs/reference/max_twa.html @@ -1,65 +1,16 @@ - - - - - - - -The maximum time weighted average concentration for a moving window — max_twa • pfm - - - - - - - - - - - - - - - - - - - - - - - - - - - -The maximum time weighted average concentration for a moving window — max_twa • pfm - - - - - - - - - - - - - + + -
-
- -
- -
+
- -

If you generate your time series using sawtooth, +

If you generate your time series using 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 -plot.one_box using the window size for the argument +plot.one_box using the window size for the argument max_twa.

-
-
max_twa(x, window = 21)
- -

Arguments

- - - - - - - - - - -
x

An object of type one_box

window

The size of the moving window

- -

Details

+
+
max_twa(x, window = 21)
+
+ +
+

Arguments

+
x
+

An object of type one_box

+ +
window
+

The size of the moving window

+ +
+
+

Details

The method working directly on fitted 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

- -

References

- -

FOCUS (2006) “Guidance Document on Estimating Persistence and +

+
+

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, + 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

- -

See also

- - - - -

Examples

-
pred <- sawtooth(one_box(10), - applications = data.frame(time = c(0, 7), amount = c(1, 1))) -max_twa(pred)
#> $max -#> parent -#> 0.9537545 -#> -#> $window_start -#> parent -#> 0 -#> -#> $window_end -#> parent -#> 21 -#>
pred_FOMC <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE) -max_twa(pred_FOMC)
#> 21 -#> 18.22124
-
- +
+

See also

+ +
+
+

Examples

+
pred <- sawtooth(one_box(10),
+  applications = data.frame(time = c(0, 7), amount = c(1, 1)))
+max_twa(pred)
+#> $max
+#>    parent 
+#> 0.9537545 
+#> 
+#> $window_start
+#> parent 
+#>      0 
+#> 
+#> $window_end
+#> parent 
+#>     21 
+#> 
+pred_FOMC <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE)
+max_twa(pred_FOMC)
+#>       21 
+#> 18.22124 
+
+
+
-
- - + + -- cgit v1.2.1