summaryrefslogtreecommitdiff
path: root/R/PEC_sw_exposit.R
diff options
context:
space:
mode:
authorJohannes Ranke <johannes.ranke@jrwb.de>2026-02-06 17:52:56 +0100
committerGitHub <noreply@github.com>2026-02-06 17:52:56 +0100
commitc233157d6723e469083983093108a38cdd12f3c9 (patch)
tree1c70d07f19629bfe9580de396406118747584cdf /R/PEC_sw_exposit.R
parent560b2dbf139015633b0807613884cbfa4d3f4e95 (diff)
parent4134a2aa07b819a6dbe59129880402395c7a484a (diff)
Merge pull request #7 from Lutzeli/patch-1
Add unit check for rate and set units for PEC calculation Also using units for Koc and DT50 are supported now.
Diffstat (limited to 'R/PEC_sw_exposit.R')
-rw-r--r--R/PEC_sw_exposit.R3
1 files changed, 2 insertions, 1 deletions
diff --git a/R/PEC_sw_exposit.R b/R/PEC_sw_exposit.R
index 282a1ac..a157189 100644
--- a/R/PEC_sw_exposit.R
+++ b/R/PEC_sw_exposit.R
@@ -52,7 +52,8 @@
#'
#' @importFrom units as_units set_units drop_units
#' @importFrom dplyr across mutate
-#' @param rate The application rate in g/ha
+#' @param rate Application rate in g/ha or with a compatible unit specified
+#' with the units package
#' @param interception The fraction intercepted by the crop
#' @param Koc The sorption coefficient to soil organic carbon
#' @param DT50 The soil half-life in days

Contact - Imprint