From 6a843ae1d50cc4f4a0a374ff6a2106a996e94e36 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
Date: Fri, 13 Feb 2026 11:04:14 +0100
Subject: Update online docs
---
docs/reference/PEC_sw_drift.html | 61 ++++++++++++++++++++----
docs/reference/PEC_sw_exposit_runoff.html | 9 ++--
docs/reference/drift_percentages_rautmann-1.png | Bin 42251 -> 67447 bytes
docs/reference/drift_percentages_rautmann.html | 26 ++++++++--
docs/reference/index.html | 4 +-
5 files changed, 80 insertions(+), 20 deletions(-)
(limited to 'docs/reference')
diff --git a/docs/reference/PEC_sw_drift.html b/docs/reference/PEC_sw_drift.html
index d8adc07..91cf36d 100644
--- a/docs/reference/PEC_sw_drift.html
+++ b/docs/reference/PEC_sw_drift.html
@@ -11,7 +11,7 @@ with input via spray drift.">
pfm
- 0.6.4
+ 0.6.5
@@ -51,10 +51,8 @@ with input via spray drift.
water_depth = as_units ( "30 cm" ) ,
drift_percentages = NULL ,
drift_data = c ( "JKI" , "RF" ) ,
- crop_group_JKI = c ( "Ackerbau" , "Obstbau frueh" , "Obstbau spaet" , "Weinbau frueh" ,
- "Weinbau spaet" , "Hopfenbau" , "Flaechenkulturen > 900 l/ha" , "Gleisanlagen" ) ,
- crop_group_RF = c ( "arable" , "hops" , "vines, late" , "vines, early" , "fruit, late" ,
- "fruit, early" , "aerial" ) ,
+ crop_group_JKI = "Ackerbau" ,
+ crop_group_RF = "arable" ,
distances = c ( 1 , 5 , 10 , 20 ) ,
formula = c ( "Rautmann" , "FOCUS" ) ,
water_width = as_units ( "100 cm" ) ,
@@ -83,7 +81,8 @@ with input via spray drift.
drift_percentages
Percentage drift values for which to calculate PECsw.
-Overrides 'drift_data' and 'distances' if not NULL.
+Overrides 'drift_data', 'distances', 'applications', crop group and
+formula arguments if not NULL.
drift_data
@@ -95,11 +94,16 @@ on the 'formula' argument.
crop_group_JKI
When using the 'JKI' drift data, one of the German names
-as used in drift_data_JKI . Will only be used if drift_data is 'JKI'.
+as used in drift_data_JKI . Will only be used if drift_data is 'JKI'. Available
+crop groups are "Ackerbau", "Obstbau frueh", "Obstbau spaet",
+"Weinbau frueh", "Weinbau spaet", "Hopfenbau", "Flaechenkulturen > 900 l/ha" and
+"Gleisanlagen".
crop_group_RF
-One of the crop groups as used in drift_parameters_focus
+Crop group(s) as used in drift_parameters_focus , i.e.
+"arable", "hops", "vines, late", "vines, early", "fruit, late", "fruit, early"
+or "aerial".
distances
@@ -138,6 +142,8 @@ if the specified rate does not have Details
It is recommened to specify the arguments rate, water_depth and
water_width using units::units from the units package.
+Since pfm version 0.6.5, the function is vectorised with respect to rates,
+applications, water depth, crop groups and distances
See also
@@ -208,6 +214,43 @@ if the specified rate does not have
#> Units: [µg/L]
#> 1 m 5 m 10 m 20 m
#> 0.60169999 0.18937304 0.10402698 0.05517095
+
+# The function is vectorised with respect to rates, applications, water depth,
+# crop groups and distances
+PEC_sw_drift (
+ rate = rep ( 100 , 6 ) ,
+ applications = c ( 1 , 2 , rep ( 1 , 4 ) ) ,
+ water_depth = c ( 30 , 30 , 30 , 60 , 30 , 30 ) ,
+ crop_group_JKI = c ( rep ( "Ackerbau" , 4 ) , rep ( "Obstbau frueh" , 2 ) ) ,
+ distances = c ( rep ( 5 , 4 ) , 10 , 5 ) )
+#> Units: [µg/L]
+#> 5 m 5 m 5 m 5 m 10 m 5 m
+#> 0.1900000 0.1566667 0.1900000 0.0950000 3.9366667 6.6300000
+
+# Try the same with the Rautmann formula
+PEC_sw_drift (
+ rate = rep ( 100 , 6 ) ,
+ applications = c ( 1 , 2 , rep ( 1 , 4 ) ) ,
+ water_depth = c ( 30 , 30 , 30 , 60 , 30 , 30 ) ,
+ drift_data = "RF" ,
+ crop_group_RF = c ( rep ( "arable" , 4 ) , rep ( "fruit, early" , 2 ) ) ,
+ distances = c ( rep ( 5 , 4 ) , 10 , 5 ) )
+#> Units: [µg/L]
+#> 5 m 5 m 5 m 5 m 10 m 5 m
+#> 0.19064473 0.15991216 0.19064473 0.09532236 3.93566026 6.62814740
+
+# And with the FOCUS variant
+PEC_sw_drift (
+ rate = rep ( 100 , 6 ) ,
+ applications = c ( 1 , 2 , rep ( 1 , 4 ) ) ,
+ water_depth = c ( 30 , 30 , 30 , 60 , 30 , 30 ) ,
+ drift_data = "RF" ,
+ formula = "FOCUS" ,
+ crop_group_RF = c ( rep ( "arable" , 4 ) , rep ( "fruit, early" , 2 ) ) ,
+ distances = c ( rep ( 5 , 4 ) , 10 , 5 ) )
+#> Units: [µg/L]
+#> 5 m 5 m 5 m 5 m 10 m 5 m
+#> 0.1741454 0.1456444 0.1741454 0.0870727 3.7957683 6.1809560
On this page
@@ -219,7 +262,7 @@ if the specified rate does not have
- Site built with pkgdown 2.1.0.
+ Site built with pkgdown 2.1.3.
diff --git a/docs/reference/PEC_sw_exposit_runoff.html b/docs/reference/PEC_sw_exposit_runoff.html
index 869c170..5fbdfd9 100644
--- a/docs/reference/PEC_sw_exposit_runoff.html
+++ b/docs/reference/PEC_sw_exposit_runoff.html
@@ -9,7 +9,7 @@ in the worksheet "Konzept Runoff".'>
pfm
- 0.6.4
+ 0.6.5
@@ -65,7 +65,8 @@ in the worksheet "Konzept Runoff".
rate
-The application rate in g/ha
+Application rate in g/ha or with a compatible unit specified
+with the units package
interception
@@ -113,7 +114,7 @@ and the bound fraction.
A matrix containing dissolved and bound input for the different distances
PEC_sw_runoff
-A matrix containing PEC values for dissolved and bound substance
+
A dataframe containing PEC values for dissolved and bound substance
for the different distances. If the rate was given in g/ha, the PECsw are in microg/L.
@@ -183,7 +184,7 @@ using
diff --git a/docs/reference/drift_percentages_rautmann-1.png b/docs/reference/drift_percentages_rautmann-1.png
index 139b22f..f046ca0 100644
Binary files a/docs/reference/drift_percentages_rautmann-1.png and b/docs/reference/drift_percentages_rautmann-1.png differ
diff --git a/docs/reference/drift_percentages_rautmann.html b/docs/reference/drift_percentages_rautmann.html
index 6aaef03..cf630e8 100644
--- a/docs/reference/drift_percentages_rautmann.html
+++ b/docs/reference/drift_percentages_rautmann.html
@@ -7,7 +7,7 @@
pfm
- 0.6.4
+ 0.6.5
@@ -42,8 +42,7 @@
drift_percentages_rautmann (
distances ,
applications = 1 ,
- crop_group_RF = c ( "arable" , "hops" , "vines, late" , "vines, early" , "fruit, late" ,
- "fruit, early" , "aerial" ) ,
+ crop_group_RF = "arable" ,
formula = c ( "Rautmann" , "FOCUS" ) ,
widths = 1
)
@@ -62,7 +61,9 @@
crop_group_RF
-One of the crop groups as used in drift_parameters_focus
+Crop group(s) as used in drift_parameters_focus , i.e.
+"arable", "hops", "vines, late", "vines, early", "fruit, late", "fruit, early"
+or "aerial".
formula
@@ -98,6 +99,21 @@ FOrum for the Co-ordination of pesticde fate models and their USe.
drift_percentages_rautmann ( c ( 1 , 3 , 5 ) , formula = "FOCUS" )
#> [1] 1.9273922 0.8160023 0.5224362
+# Since pfm 0.6.5, the function can also take a vector of crop groups
+drift_percentages_rautmann (
+ distances = c ( 1 , 5 , 5 ) ,
+ crop_group_RF = c ( "fruit, early" , "fruit, early" , "fruit, late" ) )
+#> [1] 66.702000 19.884442 8.410849
+
+# Two applications, all else equal
+drift_data_JKI [[ 2 ] ] [ as.character ( c ( 1 , 3 , 5 ) ) , "Ackerbau" ]
+#> 1 3 5
+#> 2.38 0.79 0.47
+drift_percentages_rautmann ( c ( 1 , 3 , 5 ) , applications = 2 )
+#> [1] 2.4376000 0.8036556 0.4797365
+drift_percentages_rautmann ( c ( 1 , 3 , 5 ) , formula = "FOCUS" , app = 2 )
+#> [1] 1.6837733 0.6925952 0.4369331
+
# One application to early or late fruit crops
drift_data_JKI [[ 1 ] ] [ as.character ( c ( 3 , 5 , 20 , 50 ) ) , "Obstbau frueh" ]
#> 3 5 20 50
@@ -137,7 +153,7 @@ FOrum for the Co-ordination of pesticde fate models and their USe.
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 0586b68..44caddc 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -7,7 +7,7 @@
pfm
- 0.6.4
+ 0.6.5
@@ -352,7 +352,7 @@
--
cgit v1.2.3