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_sw_focus.html | 42 ++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 17 deletions(-) (limited to 'docs/reference/PEC_sw_focus.html') diff --git a/docs/reference/PEC_sw_focus.html b/docs/reference/PEC_sw_focus.html index 1647b19..8242f6a 100644 --- a/docs/reference/PEC_sw_focus.html +++ b/docs/reference/PEC_sw_focus.html @@ -8,11 +8,13 @@ Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus • pfm + + @@ -32,8 +34,8 @@ - + + @@ -88,7 +91,6 @@ to be used with the FOCUS calculator." /> Reference - @@ -110,7 +112,6 @@ to be used with the FOCUS calculator." />
-

This is a reimplementation of the FOCUS Step 1 and 2 calculator version 3.2, authored by Michael Klein, in R. Note that results for multiple applications should be compared to the corresponding results for a @@ -118,16 +119,28 @@ single application. At current, this is not done automatically in this implementation. Only Step 1 PECs are calculated. However, input files are generated that are suitable as input also for Step 2 to be used with the FOCUS calculator.

-
-
PEC_sw_focus(parent, rate, n = 1, i = NA, comment = "", met = NULL,
-  f_drift = NA, f_rd = 0.1, scenario = FOCUS_Step_12_scenarios$names,
-  region = c("n", "s"), season = c(NA, "of", "mm", "js"),
-  interception = c("no interception", "minimal crop cover",
-  "average crop cover", "full canopy"), met_form_water = TRUE,
-  txt_file = "pesticide.txt", overwrite = FALSE, append = TRUE)
- +
PEC_sw_focus(
+  parent,
+  rate,
+  n = 1,
+  i = NA,
+  comment = "",
+  met = NULL,
+  f_drift = NA,
+  f_rd = 0.1,
+  scenario = FOCUS_Step_12_scenarios$names,
+  region = c("n", "s"),
+  season = c(NA, "of", "mm", "js"),
+  interception = c("no interception", "minimal crop cover", "average crop cover",
+    "full canopy"),
+  met_form_water = TRUE,
+  txt_file = "pesticide.txt",
+  overwrite = FALSE,
+  append = TRUE
+)
+

Arguments

@@ -214,7 +227,7 @@ should be written

Should the input text file be appended?

- +

Note

The formulas for input to the waterbody via runoff/drainage of the @@ -224,7 +237,6 @@ should be written

multiplying the application rate with the molar weight correction and the formation fraction in water/sediment systems.

Step 2 is not implemented.

-

References

FOCUS (2014) Generic guidance for Surface Water Scenarios (version 1.4). @@ -233,7 +245,6 @@ should be written

Website of the Steps 1 and 2 calculator at the Joint Research Center of the European Union: http://esdac.jrc.ec.europa.eu/projects/stepsonetwo

-

Examples

# Parent only @@ -337,11 +348,8 @@ should be written

Contents

-- cgit v1.2.1