From d81550d0cccae824cc748de48e7fd50ea8d8033a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 16 Apr 2020 18:02:18 +0200 Subject: Make na.rm = FALSE the default for geomean() This makes more sense and is in line with mean() from base R. Adapt tests and update docs. --- docs/reference/PEC_soil.html | 51 +++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 22 deletions(-) (limited to 'docs/reference/PEC_soil.html') diff --git a/docs/reference/PEC_soil.html b/docs/reference/PEC_soil.html index 81575f3..3e405a5 100644 --- a/docs/reference/PEC_soil.html +++ b/docs/reference/PEC_soil.html @@ -8,11 +8,13 @@ Calculate predicted environmental concentrations in soil — PEC_soil • pfm + + @@ -32,8 +34,8 @@ - + + @@ -86,7 +89,6 @@ and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017)." /> Reference - @@ -108,24 +110,38 @@ and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017)." />
-

This is a basic calculation of a contaminant concentration in bulk soil based on complete, instantaneous mixing. If an interval is given, an attempt is made at calculating a long term maximum concentration using the concepts layed out in the PPR panel opinion (EFSA PPR panel 2012 and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017).

-
-
PEC_soil(rate, rate_units = "g/ha", interception = 0,
-  mixing_depth = 5, PEC_units = "mg/kg", PEC_pw_units = "mg/L",
-  interval = NA, n_periods = Inf, tillage_depth = 20,
-  leaching_depth = tillage_depth, crop = "annual",
-  cultivation = FALSE, chent = NA, DT50 = NA, FOMC = NA,
-  Koc = NA, Kom = Koc/1.724, t_avg = 0, t_act = NULL,
+    
PEC_soil(
+  rate,
+  rate_units = "g/ha",
+  interception = 0,
+  mixing_depth = 5,
+  PEC_units = "mg/kg",
+  PEC_pw_units = "mg/L",
+  interval = NA,
+  n_periods = Inf,
+  tillage_depth = 20,
+  leaching_depth = tillage_depth,
+  crop = "annual",
+  cultivation = FALSE,
+  chent = NA,
+  DT50 = NA,
+  FOMC = NA,
+  Koc = NA,
+  Kom = Koc/1.724,
+  t_avg = 0,
+  t_act = NULL,
   scenarios = c("default", "EFSA_2017", "EFSA_2015"),
-  leaching = scenarios == "EFSA_2017", porewater = FALSE)
- + leaching = scenarios == "EFSA_2017", + porewater = FALSE +)
+

Arguments

@@ -245,11 +261,10 @@ soil concentrations? Based on equation (7) given in the PPR panel opinion p. 13).

- +

Value

The predicted concentration in soil

-

Details

This assumes that the complete load to soil during the time specified by @@ -258,7 +273,6 @@ opinion cited below (EFSA PPR panel 2012), only temperature correction using the Arrhenius equation is performed.

Total soil and porewater PEC values for the scenarios as defined in the EFSA guidance (2017, p. 14/15) can easily be calculated.

-

Note

While time weighted average (TWA) concentrations given in the examples @@ -275,7 +289,6 @@ from 2017 (p. 92).

e.g. in the EFSA scenarios, the DT50 for groundwater modelling (destination 'PECgw') is taken from the chent object, otherwise the DT50 with destination 'PECsoil'.

-

References

EFSA Panel on Plant Protection Products and their Residues (2012) @@ -293,7 +306,6 @@ from 2017 (p. 92).

protection products and transformation products of these active substances in soil. EFSA Journal 13(4) 4093 doi:10.2903/j.efsa.2015.4093

-

Examples

PEC_soil(100, interception = 0.25)
#> scenario @@ -334,15 +346,10 @@ from 2017 (p. 92).

Contents

-- cgit v1.2.1