From c97a4f5a9fe30ffc3321681a97eea167cfc427b5 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 23 Jul 2020 12:22:25 +0200 Subject: PEC_sw_drift: Rautmann formula (1 app, Ackerbau) This makes it possible to calculate drift PECsw for other distances than present in the JKI data or the Rautmann paper. --- docs/404.html | 2 +- docs/authors.html | 2 +- docs/index.html | 2 +- docs/pkgdown.yml | 2 +- docs/reference/PEC_sw_drift.html | 61 ++++++++++++++++++++++---------------- docs/reference/drift_data_JKI.html | 6 ++-- docs/reference/index.html | 2 +- 7 files changed, 44 insertions(+), 33 deletions(-) (limited to 'docs') diff --git a/docs/404.html b/docs/404.html index 37f381e..a98212e 100644 --- a/docs/404.html +++ b/docs/404.html @@ -71,7 +71,7 @@ pfm - 0.5.7 + 0.5.8 diff --git a/docs/authors.html b/docs/authors.html index da75377..d886f2a 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -71,7 +71,7 @@ pfm - 0.5.7 + 0.5.8 diff --git a/docs/index.html b/docs/index.html index 6ffb312..05e6106 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,7 +33,7 @@ pfm - 0.5.7 + 0.5.8 diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 8b86fe9..cfe1fde 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 2.2.1 pkgdown: 1.5.1 pkgdown_sha: ~ articles: [] -last_built: 2020-07-22T15:06Z +last_built: 2020-07-23T09:34Z urls: reference: https://pkgdown.jrwb.de/pfm/reference article: https://pkgdown.jrwb.de/pfm/articles diff --git a/docs/reference/PEC_sw_drift.html b/docs/reference/PEC_sw_drift.html index 302ab0d..e2c325b 100644 --- a/docs/reference/PEC_sw_drift.html +++ b/docs/reference/PEC_sw_drift.html @@ -10,23 +10,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -39,7 +43,6 @@ - @@ -57,7 +60,7 @@ with input via spray drift." /> - +
@@ -118,7 +121,7 @@ with input via spray drift.

applications = 1, water_depth = 30, drift_percentages = NULL, - drift_data = "JKI", + drift_data = c("JKI", "RF"), crop = "Ackerbau", distances = c(1, 5, 10, 20), rate_units = "g/ha", @@ -147,7 +150,9 @@ with input via spray drift.

drift_data -

Source of drift percentage data

+

Source of drift percentage data. If 'JKI', the [drift_data_JKI] +included in the package is used. If 'RF', the Rautmann formula is used, if +implemented for the crop type and number of applications

crop @@ -173,18 +178,24 @@ with input via spray drift.

Examples

PEC_sw_drift(100)
#> 1 m 5 m 10 m 20 m -#> 0.92333333 0.19000000 0.09666667 0.05000000
+#> 0.92333333 0.19000000 0.09666667 0.05000000
# Alternatively, we can use the formula for a single application to "Ackerbau" from the paper +PEC_sw_drift(100, drift_data = "RF")
#> 1 m 5 m 10 m 20 m +#> 0.92350000 0.19114149 0.09699222 0.04921742
+# This makes it possible to also use different substances +PEC_sw_drift(100, distances = c(1, 3, 5, 6, 10, 20, 50, 100), drift_data = "RF")
#> 1 m 3 m 5 m 6 m 10 m 20 m 50 m +#> 0.92350000 0.31512171 0.19114149 0.15990435 0.09699222 0.04921742 0.02007497 +#> 100 m +#> 0.01018678
+# Using custom drift percentages is also supported +PEC_sw_drift(100, drift_percentages = c(2.77, 0.95, 0.57, 0.48, 0.29, 0.15, 0.06, 0.03))
#> 2.77 % 0.95 % 0.57 % 0.48 % 0.29 % 0.15 % 0.06 % +#> 0.92333333 0.31666667 0.19000000 0.16000000 0.09666667 0.05000000 0.02000000 +#> 0.03 % +#> 0.01000000
- @@ -195,7 +206,7 @@ with input via spray drift.

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/reference/drift_data_JKI.html b/docs/reference/drift_data_JKI.html index dd78451..36472d1 100644 --- a/docs/reference/drift_data_JKI.html +++ b/docs/reference/drift_data_JKI.html @@ -75,7 +75,7 @@ published by the German Julius-Kühn Institute (JKI)." /> pfm - 0.5.7 + 0.5.8 @@ -162,7 +162,7 @@ included.

drift_data_JKI <- list() for (n in 1:8) { - drift_data_raw <- read_excel(abdrift_path, sheet = n + 1, skip = 2) + drift_data_raw <- read_excel(abdrift_path, sheet = n + 1, skip = 2) drift_data <- matrix(NA, nrow = 9, ncol = length(JKI_crops)) dimnames(drift_data) <- list(distance = drift_data_raw[[1]][1:9], crop = JKI_crops) @@ -196,7 +196,7 @@ included.

save(drift_data_JKI, file = "data/drift_data_JKI.RData") } -# And this is the resulting data +# And these are the resulting data drift_data_JKI
#> [[1]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet diff --git a/docs/reference/index.html b/docs/reference/index.html index 186390e..9473a2d 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -71,7 +71,7 @@ pfm - 0.5.7 + 0.5.8
-- cgit v1.2.1