diff --git a/docs/reference/GUS.md b/docs/reference/GUS.md
index b81f464..f6e4f55 100644
--- a/docs/reference/GUS.md
+++ b/docs/reference/GUS.md
@@ -1,8 +1,7 @@
# Groundwater ubiquity score based on Gustafson (1989)
The groundwater ubiquity score GUS is calculated according to the
-following equation \$\$GUS = \log\_{10} DT50\_{soil} (4 - \log\_{10}
-K\_{oc})\$\$
+following equation
## Usage
@@ -102,6 +101,10 @@ print(x, ..., digits = 1)
A list with the DT50 and Koc used as well as the resulting score of
class GUS_result
+## Details
+
+\$\$GUS = \log\_{10} DT50\_{soil} (4 - \log\_{10} K\_{oc})\$\$
+
## References
Gustafson, David I. (1989) Groundwater ubiquity score: a simple method
diff --git a/docs/reference/PEC_FOMC_accu_rel.html b/docs/reference/PEC_FOMC_accu_rel.html
index c9c7b6a..6139c28 100644
--- a/docs/reference/PEC_FOMC_accu_rel.html
+++ b/docs/reference/PEC_FOMC_accu_rel.html
@@ -1,5 +1,11 @@
-Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel • pfm
+Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel • pfmSkip to contents
diff --git a/docs/reference/PEC_soil.html b/docs/reference/PEC_soil.html
index b148280..7ef86fd 100644
--- a/docs/reference/PEC_soil.html
+++ b/docs/reference/PEC_soil.html
@@ -1,5 +1,11 @@
-Calculate predicted environmental concentrations in soil — PEC_soil • pfmCalculate predicted environmental concentrations in soil — PEC_soil • pfmCalculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets • pfm
+Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets • pfmSkip to contents
diff --git a/docs/reference/PEC_sw_drainage_UK.html b/docs/reference/PEC_sw_drainage_UK.html
index 8dbfc78..30a146e 100644
--- a/docs/reference/PEC_sw_drainage_UK.html
+++ b/docs/reference/PEC_sw_drainage_UK.html
@@ -1,5 +1,11 @@
-Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK • pfmCalculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK • pfmCalculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift • pfmCalculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift • pfm#> 100 m
#> 0.01018774
+# We can also specify distance units explicitly
+library(units)
+#> udunits database from /usr/share/xml/udunits/udunits2.xml
+PEC_sw_drift(100, distances =set_units(c(1, 3, 5, 6, 10, 20, 50, 100), "m"), drift_data ="RF")
+#> Units: [µg/L]
+#> 1 m 3 m 5 m 6 m 10 m 20 m 50 m
+#> 0.91976667 0.31415827 0.19064473 0.15951494 0.09680051 0.04915079 0.02006434
+#> 100 m
+#> 0.01018774
+# or consider aerial applicationPEC_sw_drift(100, distances =c(1, 3, 5, 6, 10, 20, 50, 100), drift_data ="RF", crop_group_RF ="aerial")
diff --git a/docs/reference/PEC_sw_drift.md b/docs/reference/PEC_sw_drift.md
index c16a02a..375427e 100644
--- a/docs/reference/PEC_sw_drift.md
+++ b/docs/reference/PEC_sw_drift.md
@@ -148,6 +148,16 @@ PEC_sw_drift(100, distances = c(1, 3, 5, 6, 10, 20, 50, 100), drift_data = "RF")
#> 100 m
#> 0.01018774
+# We can also specify distance units explicitly
+library(units)
+#> udunits database from /usr/share/xml/udunits/udunits2.xml
+PEC_sw_drift(100, distances = set_units(c(1, 3, 5, 6, 10, 20, 50, 100), "m"), drift_data = "RF")
+#> Units: [µg/L]
+#> 1 m 3 m 5 m 6 m 10 m 20 m 50 m
+#> 0.91976667 0.31415827 0.19064473 0.15951494 0.09680051 0.04915079 0.02006434
+#> 100 m
+#> 0.01018774
+
# or consider aerial application
PEC_sw_drift(100, distances = c(1, 3, 5, 6, 10, 20, 50, 100), drift_data = "RF",
crop_group_RF = "aerial")
diff --git a/docs/reference/PEC_sw_exposit_drainage.html b/docs/reference/PEC_sw_exposit_drainage.html
index 792e774..59e0ef5 100644
--- a/docs/reference/PEC_sw_exposit_drainage.html
+++ b/docs/reference/PEC_sw_exposit_drainage.html
@@ -1,5 +1,11 @@
-Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage • pfmrate, Koc, <
interception =0, Koc =NA, mobility =c(NA, "low", "high"),
- DT50 =set_units(Inf, "d"),
- t_drainage =set_units(3, "days"),
- V_ditch =set_units(30, "m3"),
- V_drainage =set_units(c(spring =10, autumn =100), "m3"),
+ DT50 =set_units(Inf, "d"),
+ t_drainage =set_units(3, "days"),
+ V_ditch =set_units(30, "m3"),
+ V_drainage =set_units(c(spring =10, autumn =100), "m3"), dilution =2)
diff --git a/docs/reference/PEC_sw_exposit_runoff.html b/docs/reference/PEC_sw_exposit_runoff.html
index 8104913..b5f8f85 100644
--- a/docs/reference/PEC_sw_exposit_runoff.html
+++ b/docs/reference/PEC_sw_exposit_runoff.html
@@ -1,5 +1,11 @@
-Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff • pfmSkip to contents
@@ -46,11 +52,11 @@ in the worksheet "Konzept Runoff".
diff --git a/docs/reference/PEC_sw_sed.md b/docs/reference/PEC_sw_sed.md
index 21d9748..6f03a84 100644
--- a/docs/reference/PEC_sw_sed.md
+++ b/docs/reference/PEC_sw_sed.md
@@ -61,7 +61,6 @@ Johannes Ranke
``` r
library(pfm)
library(units)
-#> udunits database from /usr/share/xml/udunits/udunits2.xml
PEC_sw_sed(PEC_sw_drift(100, distances = 1), percentage = 50)
#> 2.130769 [µg/kg]
```
diff --git a/docs/reference/SFO_actual_twa.html b/docs/reference/SFO_actual_twa.html
index bcfeb05..842d288 100644
--- a/docs/reference/SFO_actual_twa.html
+++ b/docs/reference/SFO_actual_twa.html
@@ -1,5 +1,11 @@
-Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa • pfm
+Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa • pfmSkip to contents
diff --git a/docs/reference/SSLRC_mobility_classification.html b/docs/reference/SSLRC_mobility_classification.html
index 5dd600c..fbbbd0a 100644
--- a/docs/reference/SSLRC_mobility_classification.html
+++ b/docs/reference/SSLRC_mobility_classification.html
@@ -1,5 +1,11 @@
-Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification • pfmDetermine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification • pfmSkip to contents
diff --git a/docs/reference/TOXSWA_cwa.html b/docs/reference/TOXSWA_cwa.html
index 2087177..48e6b44 100644
--- a/docs/reference/TOXSWA_cwa.html
+++ b/docs/reference/TOXSWA_cwa.html
@@ -1,5 +1,11 @@
-R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa • pfmR6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa • pfmEstimation of the transpiration stream concentration factor — TSCF • pfmEstimation of the transpiration stream concentration factor — TSCF • pfmCreate a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw • pfm
+Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw • pfmSkip to contents
diff --git a/docs/reference/drift_data_JKI.html b/docs/reference/drift_data_JKI.html
index ff1fd5a..62ab92a 100644
--- a/docs/reference/drift_data_JKI.html
+++ b/docs/reference/drift_data_JKI.html
@@ -1,5 +1,11 @@
-Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI • pfmDeposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI • pfmSkip to contents
diff --git a/docs/reference/drift_parameters_focus.html b/docs/reference/drift_parameters_focus.html
index 0915b00..f7a6d55 100644
--- a/docs/reference/drift_parameters_focus.html
+++ b/docs/reference/drift_parameters_focus.html
@@ -1,5 +1,11 @@
-Regression parameters for the Rautmann drift data — drift_parameters_focus • pfmRegression parameters for the Rautmann drift data — drift_parameters_focus • pfmCalculate drift percentages based on Rautmann data — drift_percentages_rautmann • pfm
+Calculate drift percentages based on Rautmann data — drift_percentages_rautmann • pfmSkip to contents
diff --git a/docs/reference/endpoint.html b/docs/reference/endpoint.html
index cbcb9f4..08c4bf9 100644
--- a/docs/reference/endpoint.html
+++ b/docs/reference/endpoint.html
@@ -1,5 +1,11 @@
-Retrieve endpoint information from the chyaml field of a chent object — endpoint • pfmRetrieve endpoint information from the chyaml field of a chent object — endpoint • pfmCalculate the geometric mean — geomean • pfmCalculate the geometric mean — geomean • pfmFit a parabola through three points — get_vertex • pfmFit a parabola through three points — get_vertex • pfmSkip to contents
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 6d7b495..249a2f3 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -1,5 +1,11 @@
-Package index • pfm
+Package index • pfmSkip to contents
diff --git a/docs/reference/max_twa.html b/docs/reference/max_twa.html
index f1ebfeb..8ceca6c 100644
--- a/docs/reference/max_twa.html
+++ b/docs/reference/max_twa.html
@@ -1,5 +1,11 @@
-The maximum time weighted average concentration for a moving window — max_twa • pfmThe maximum time weighted average concentration for a moving window — max_twa • pfmCreate a time series of decline data — one_box • pfm
+Create a time series of decline data — one_box • pfmSkip to contents
diff --git a/docs/reference/perc_runoff_exposit.html b/docs/reference/perc_runoff_exposit.html
index ee5dda0..0591ef1 100644
--- a/docs/reference/perc_runoff_exposit.html
+++ b/docs/reference/perc_runoff_exposit.html
@@ -1,5 +1,11 @@
-Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit • pfm
+Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit • pfmSkip to contents
diff --git a/docs/reference/perc_runoff_reduction_exposit.html b/docs/reference/perc_runoff_reduction_exposit.html
index a264847..22e66c1 100644
--- a/docs/reference/perc_runoff_reduction_exposit.html
+++ b/docs/reference/perc_runoff_reduction_exposit.html
@@ -1,5 +1,11 @@
-Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit • pfm
+Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit • pfmSkip to contents
diff --git a/docs/reference/pfm_degradation.html b/docs/reference/pfm_degradation.html
index 5fed8c1..b4f3279 100644
--- a/docs/reference/pfm_degradation.html
+++ b/docs/reference/pfm_degradation.html
@@ -1,5 +1,11 @@
-Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation • pfm
+Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation • pfmSkip to contents
diff --git a/docs/reference/plot.TOXSWA_cwa-1.png b/docs/reference/plot.TOXSWA_cwa-1.png
index 6051d11..3317ecf 100644
Binary files a/docs/reference/plot.TOXSWA_cwa-1.png and b/docs/reference/plot.TOXSWA_cwa-1.png differ
diff --git a/docs/reference/plot.TOXSWA_cwa-2.png b/docs/reference/plot.TOXSWA_cwa-2.png
index de0bac4..8cf65c8 100644
Binary files a/docs/reference/plot.TOXSWA_cwa-2.png and b/docs/reference/plot.TOXSWA_cwa-2.png differ
diff --git a/docs/reference/plot.TOXSWA_cwa-3.png b/docs/reference/plot.TOXSWA_cwa-3.png
index 30603a5..c9a3b0c 100644
Binary files a/docs/reference/plot.TOXSWA_cwa-3.png and b/docs/reference/plot.TOXSWA_cwa-3.png differ
diff --git a/docs/reference/plot.TOXSWA_cwa-4.png b/docs/reference/plot.TOXSWA_cwa-4.png
index 814e78c..9e056c1 100644
Binary files a/docs/reference/plot.TOXSWA_cwa-4.png and b/docs/reference/plot.TOXSWA_cwa-4.png differ
diff --git a/docs/reference/plot.TOXSWA_cwa-5.png b/docs/reference/plot.TOXSWA_cwa-5.png
index dbffb7e..f3d8ad7 100644
Binary files a/docs/reference/plot.TOXSWA_cwa-5.png and b/docs/reference/plot.TOXSWA_cwa-5.png differ
diff --git a/docs/reference/plot.TOXSWA_cwa.html b/docs/reference/plot.TOXSWA_cwa.html
index dcfb565..2de7ebc 100644
--- a/docs/reference/plot.TOXSWA_cwa.html
+++ b/docs/reference/plot.TOXSWA_cwa.html
@@ -1,5 +1,11 @@
-Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa • pfmPlot TOXSWA surface water concentrations — plot.TOXSWA_cwa • pfmSkip to contents
diff --git a/docs/reference/plot.one_box-1.png b/docs/reference/plot.one_box-1.png
index 7ee0e8a..c8c208f 100644
Binary files a/docs/reference/plot.one_box-1.png and b/docs/reference/plot.one_box-1.png differ
diff --git a/docs/reference/plot.one_box-2.png b/docs/reference/plot.one_box-2.png
index f8f8450..c6c57a6 100644
Binary files a/docs/reference/plot.one_box-2.png and b/docs/reference/plot.one_box-2.png differ
diff --git a/docs/reference/plot.one_box-3.png b/docs/reference/plot.one_box-3.png
index 45c84f0..1c3d64d 100644
Binary files a/docs/reference/plot.one_box-3.png and b/docs/reference/plot.one_box-3.png differ
diff --git a/docs/reference/plot.one_box-4.png b/docs/reference/plot.one_box-4.png
index d4e93f7..64e3574 100644
Binary files a/docs/reference/plot.one_box-4.png and b/docs/reference/plot.one_box-4.png differ
diff --git a/docs/reference/plot.one_box-5.png b/docs/reference/plot.one_box-5.png
index 338feef..7537b54 100644
Binary files a/docs/reference/plot.one_box-5.png and b/docs/reference/plot.one_box-5.png differ
diff --git a/docs/reference/plot.one_box.html b/docs/reference/plot.one_box.html
index 34632ac..eb5eb06 100644
--- a/docs/reference/plot.one_box.html
+++ b/docs/reference/plot.one_box.html
@@ -1,5 +1,11 @@
-Plot time series of decline data — plot.one_box • pfm
+Plot time series of decline data — plot.one_box • pfmSkip to contents
diff --git a/docs/reference/read.TOXSWA_cwa.html b/docs/reference/read.TOXSWA_cwa.html
index 44aa6f5..bf078e0 100644
--- a/docs/reference/read.TOXSWA_cwa.html
+++ b/docs/reference/read.TOXSWA_cwa.html
@@ -1,5 +1,11 @@
-Read TOXSWA surface water concentrations — read.TOXSWA_cwa • pfmRead TOXSWA surface water concentrations — read.TOXSWA_cwa • pfmObjects exported from other packages — reexports • pfmObjects exported from other packages — reexports • pfmCreate decline time series for multiple applications — sawtooth • pfmCreate decline time series for multiple applications — sawtooth • pfmSkip to contents
diff --git a/docs/reference/soil_scenario_data_EFSA_2015.html b/docs/reference/soil_scenario_data_EFSA_2015.html
index f6900f3..d6a21e6 100644
--- a/docs/reference/soil_scenario_data_EFSA_2015.html
+++ b/docs/reference/soil_scenario_data_EFSA_2015.html
@@ -1,5 +1,11 @@
-Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015 • pfmProperties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015 • pfmProperties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017 • pfmProperties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017 • pfmCalculate a time weighted average concentration — twa • pfmCalculate a time weighted average concentration — twa • pfm