aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.Rhistory25
-rw-r--r--DESCRIPTION8
-rw-r--r--NAMESPACE5
-rw-r--r--NEWS.md5
-rw-r--r--R/PEC_sw_drift.R27
-rw-r--r--R/PEC_sw_exposit.R (renamed from R/PEC_sw_exposit_runoff.R)52
-rw-r--r--R/PEC_sw_sed.R22
-rw-r--r--README.html23
-rw-r--r--README.md1
-rw-r--r--data/perc_runoff.RDatabin623 -> 0 bytes
-rw-r--r--data/perc_runoff_exposit.RDatabin0 -> 943 bytes
-rw-r--r--data/perc_runoff_reduction_exposit.RDatabin0 -> 1101 bytes
-rw-r--r--docs/404.html56
-rw-r--r--docs/authors.html58
-rw-r--r--docs/index.html61
-rw-r--r--docs/news/index.html58
-rw-r--r--docs/reference/EFSA_GW_interception_2014.html47
-rw-r--r--docs/reference/EFSA_washoff_2017.html47
-rw-r--r--docs/reference/FOCUS_GW_scenarios_2012.html51
-rw-r--r--docs/reference/FOCUS_Step_12_scenarios.html51
-rw-r--r--docs/reference/FOMC_actual_twa.html55
-rw-r--r--docs/reference/GUS.chent.html8
-rw-r--r--docs/reference/GUS.html87
-rw-r--r--docs/reference/GUS.numeric.html8
-rw-r--r--docs/reference/PEC_soil.html101
-rw-r--r--docs/reference/PEC_sw_drainage_UK.html71
-rw-r--r--docs/reference/PEC_sw_drift.html120
-rw-r--r--docs/reference/PEC_sw_exposit_drainage.html89
-rw-r--r--docs/reference/PEC_sw_exposit_runoff.html138
-rw-r--r--docs/reference/PEC_sw_focus.html85
-rw-r--r--docs/reference/PEC_sw_sed.html90
-rw-r--r--docs/reference/SFO_actual_twa.html53
-rw-r--r--docs/reference/SSLRC_mobility_classification.html59
-rw-r--r--docs/reference/TOXSWA_cwa.html55
-rw-r--r--docs/reference/TSCF.html57
-rw-r--r--docs/reference/drift_data_JKI.html54
-rw-r--r--docs/reference/drift_parameters_focus.html51
-rw-r--r--docs/reference/drift_percentages_rautmann.html59
-rw-r--r--docs/reference/endpoint.html79
-rw-r--r--docs/reference/index.html346
-rw-r--r--docs/reference/max_twa.html61
-rw-r--r--docs/reference/one_box.character.html8
-rw-r--r--docs/reference/one_box.mkinfit.html8
-rw-r--r--docs/reference/one_box.numeric.html8
-rw-r--r--docs/reference/perc_runoff_exposit.html73
-rw-r--r--docs/reference/perc_runoff_reduction_exposit.html49
-rw-r--r--docs/reference/print.GUS_result.html8
-rw-r--r--docs/reference/set_nd_nq.html8
-rw-r--r--docs/reference/set_nd_nq_focus.html8
-rw-r--r--docs/reference/soil_DT50.html8
-rw-r--r--docs/reference/soil_Kfoc.html8
-rw-r--r--docs/reference/soil_N.html8
-rw-r--r--docs/reference/soil_scenario_data_EFSA_2015.html51
-rw-r--r--docs/reference/soil_scenario_data_EFSA_2017.html51
-rw-r--r--docs/reference/soil_sorption.html8
-rw-r--r--docs/reference/twa.one_box.html8
-rw-r--r--docs/search.json2
-rw-r--r--docs/sitemap.xml177
-rw-r--r--inst/data_generation/PEC_sw_exposit.R9
-rw-r--r--log/build.log4
-rw-r--r--log/check.log21
-rw-r--r--log/test.log16
-rw-r--r--man/PEC_sw_drift.Rd14
-rw-r--r--man/PEC_sw_exposit_drainage.Rd2
-rw-r--r--man/PEC_sw_exposit_runoff.Rd14
-rw-r--r--man/PEC_sw_sed.Rd10
-rw-r--r--man/perc_runoff_exposit.Rd2
-rw-r--r--man/perc_runoff_reduction_exposit.Rd2
-rw-r--r--tests/testthat/test_PEC_sed.R4
-rw-r--r--tests/testthat/test_PEC_sw_drift.R20
-rw-r--r--tests/testthat/test_exposit.R27
71 files changed, 1466 insertions, 1493 deletions
diff --git a/.Rhistory b/.Rhistory
deleted file mode 100644
index 14fd957..0000000
--- a/.Rhistory
+++ /dev/null
@@ -1,25 +0,0 @@
-install.packages("chents")
-library(chents)
-atrazine <- pai.new("atrazine")
-atra <- pai$new("atrazine")
-atra
-atra$mw
-library(units)
-as_unit("3 g/mol")
-as_units(3, g/mol)
-as_units(3, "g/mol")
-cym <- pai$new("cymoxanil")
-cym
-py_install("rdkit")
-reticulate::py_install("rdkit")
-cym <- pai$new("cymoxanil")
-library(reticulate)
-py_install("rdkit")
-rdkit <- py_import(rdkit)
-rdkit <- import("rdkit")
-rdkit
-chent$new("isopropanol")
-library(pfm)
-drift_data_JKI
-EFSA_washoff_2017
-?officer::read_docx
diff --git a/DESCRIPTION b/DESCRIPTION
index 2757d8b..eb2e419 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -2,7 +2,7 @@ Package: pfm
Type: Package
Title: Utilities for Pesticide Fate Modelling
Version: 0.6.3
-Date: 2024-04-10
+Date: 2024-08-13
Authors@R: person("Johannes Ranke", email = "johannes.ranke@agroscope.admin.ch",
role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-4371-6538"))
@@ -16,7 +16,9 @@ Depends:
Imports:
graphics,
readr,
- methods
+ methods,
+ units,
+ dplyr
Suggests:
testthat,
chents,
@@ -32,4 +34,4 @@ LazyData: true
Encoding: UTF-8
URL: https://pkgdown.jrwb.de/pfm, https://github.com/jranke/pfm
Roxygen: list(markdown = TRUE, r6 = TRUE)
-RoxygenNote: 7.3.1.9000
+RoxygenNote: 7.3.2
diff --git a/NAMESPACE b/NAMESPACE
index db73553..7749f57 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -46,6 +46,8 @@ export(twa)
import(graphics)
import(mkin)
importFrom(R6,R6Class)
+importFrom(dplyr,across)
+importFrom(dplyr,mutate)
importFrom(grDevices,dev.cur)
importFrom(methods,is)
importFrom(mkin,mkinpredict)
@@ -60,4 +62,7 @@ importFrom(stats,plot.ts)
importFrom(stats,start)
importFrom(stats,time)
importFrom(stats,ts)
+importFrom(units,as_units)
+importFrom(units,drop_units)
+importFrom(units,set_units)
importFrom(utils,read.table)
diff --git a/NEWS.md b/NEWS.md
new file mode 100644
index 0000000..d8c5cd2
--- /dev/null
+++ b/NEWS.md
@@ -0,0 +1,5 @@
+## version 0.6.3
+
+- R/{PEC_sw_drift,PEC_sw_exposit_runoff,PEC_sw_sed}.R: Make use of the `units` package.
+
+- R/PEC_sw_drift.R: Change argument name from 'crop_group_focus' to 'crop_group_RF', in order to make it easier to understand the relation to the 'drift_data' argument.
diff --git a/R/PEC_sw_drift.R b/R/PEC_sw_drift.R
index c1b24d3..7028101 100644
--- a/R/PEC_sw_drift.R
+++ b/R/PEC_sw_drift.R
@@ -4,9 +4,16 @@
#' concentration in surface water based on complete, instantaneous mixing
#' with input via spray drift.
#'
+#' It is recommened to specify the arguments `rate`, `water_depth` and
+#' `water_width` using [units::units] from the `units` package.
+#'
#' @inheritParams drift_percentages_rautmann
+#' @importFrom units as_units set_units
#' @seealso [drift_parameters_focus], [drift_percentages_rautmann]
-#' @param rate Application rate in units specified below
+#' @param rate Application rate in units specified below, or with units defined via the
+#' `units` package.
+#' @param rate_units Defaults to g/ha. For backwards compatibility, only used
+#' if the specified rate does not have [units::units]].
#' @param drift_percentages Percentage drift values for which to calculate PECsw.
#' Overrides 'drift_data' and 'distances' if not NULL.
#' @param drift_data Source of drift percentage data. If 'JKI', the [drift_data_JKI]
@@ -16,7 +23,6 @@
#' @param crop_group_JKI When using the 'JKI' drift data, one of the German names
#' as used in [drift_parameters_focus]. Will only be used if drift_data is 'JKI'.
#' @param water_depth Depth of the water body in cm
-#' @param rate_units Defaults to g/ha
#' @param PEC_units Requested units for the calculated PEC. Only µg/L currently supported
#' @param water_width Width of the water body in cm
#' @param side_angle The angle of the side of the water relative to the bottom which
@@ -49,7 +55,7 @@
#' PEC_sw_drift(100, drift_data = "RF", formula = "FOCUS", side_angle = 45, water_width = 200)
PEC_sw_drift <- function(rate,
applications = 1,
- water_depth = 30,
+ water_depth = as_units("30 cm"),
drift_percentages = NULL,
drift_data = c("JKI", "RF"),
crop_group_JKI = c("Ackerbau",
@@ -59,13 +65,17 @@ PEC_sw_drift <- function(rate,
"fruit, late", "fruit, early", "aerial"),
distances = c(1, 5, 10, 20),
formula = c("Rautmann", "FOCUS"),
- water_width = 100,
+ water_width = as_units("100 cm"),
side_angle = 90,
rate_units = "g/ha",
PEC_units = "\u00B5g/L")
{
rate_units <- match.arg(rate_units)
PEC_units <- match.arg(PEC_units)
+ # Set default units if not specified
+ if (!inherits(rate, "units")) rate <- set_units(rate, rate_units, mode = "symbolic")
+ if (!inherits(water_width, "units")) water_width <- set_units(water_width, "cm")
+ if (!inherits(water_depth, "units")) water_depth <- set_units(water_depth, "cm")
drift_data <- match.arg(drift_data)
crop_group_JKI <- match.arg(crop_group_JKI)
crop_group_RF <- match.arg(crop_group_RF)
@@ -77,10 +87,11 @@ PEC_sw_drift <- function(rate,
}
formula <- match.arg(formula)
if (side_angle < 0 | side_angle > 90) stop("The side anglemust be between 0 and 90 degrees")
- mean_water_width <- if (side_angle == 90) water_width
+ mean_water_width <- if (side_angle == 90) water_width # Mean water width over waterbody depth
else water_width - (water_depth / tanpi(side_angle/180))
- water_volume <- 100 * mean_water_width * (water_depth/100) * 1000 # in L (for 1 ha)
- PEC_sw_overspray <- rate * 1e6 / water_volume # in µg/L
+ if (as.numeric(mean_water_width) < 0) stop("Undefined geometry")
+ relative_mean_water_width <- mean_water_width / water_width # Always <= 1
+ PEC_sw_overspray <- set_units(rate / (relative_mean_water_width * water_depth), PEC_units, mode = "symbolic")
dist_index <- as.character(distances)
if (is.null(drift_percentages)) {
@@ -88,7 +99,7 @@ PEC_sw_drift <- function(rate,
JKI = pfm::drift_data_JKI[[applications]][dist_index, crop_group_JKI],
RF = drift_percentages_rautmann(distances, applications,
formula = formula,
- crop_group_RF, widths = water_width/100)
+ crop_group_RF, widths = as.numeric(set_units(water_width, "m")))
)
names(drift_percentages) <- paste(dist_index, "m")
} else {
diff --git a/R/PEC_sw_exposit_runoff.R b/R/PEC_sw_exposit.R
index 877dd92..fe23284 100644
--- a/R/PEC_sw_exposit_runoff.R
+++ b/R/PEC_sw_exposit.R
@@ -47,6 +47,11 @@
#' This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
#' in the worksheet "Konzept Runoff".
#'
+#' It is recommened to specify the arguments `rate`, `Koc`, `DT50`, `t_runoff`, `V_ditch` and `V_event`
+#' using [units::units] from the `units` package.
+#'
+#' @importFrom units as_units set_units drop_units
+#' @importFrom dplyr across mutate
#' @param rate The application rate in g/ha
#' @param interception The fraction intercepted by the crop
#' @param Koc The sorption coefficient to soil organic carbon
@@ -74,43 +79,60 @@
#' @examples
#' PEC_sw_exposit_runoff(500, Koc = 150)
#' PEC_sw_exposit_runoff(600, Koc = 10000, DT50 = 195, exposit = "3.01a")
-PEC_sw_exposit_runoff <- function(rate, interception = 0, Koc, DT50 = Inf, t_runoff = 3,
+PEC_sw_exposit_runoff <- function(rate, interception = 0, Koc, DT50 = set_units(Inf, "d"),
+ t_runoff = set_units(3, "days"),
exposit_reduction_version = c("3.02", "3.01a", "3.01a2", "2.0"),
- V_ditch = 30, V_event = 100, dilution = 2)
+ V_ditch = set_units(30, "m3"), V_event = set_units(100, "m3"), dilution = 2)
{
+ # Set default units if not specified
+ if (!inherits(rate, "units")) rate <- set_units(rate, "g/ha")
+ if (!inherits(Koc, "units")) Koc <- set_units(Koc, "L/kg")
+ if (!inherits(DT50, "units")) DT50 <- set_units(DT50, "d")
+ if (!inherits(t_runoff, "units")) t_runoff <- set_units(t_runoff, "d")
+ if (!inherits(V_ditch, "units")) V_ditch <- set_units(V_ditch, "m3")
+ if (!inherits(V_event, "units")) V_event <- set_units(V_event, "m3")
+
k_deg <- log(2)/DT50
- input <- rate * (1 - interception) * 1 * exp(-k_deg * t_runoff) # assumes 1 ha treated area
+
+ # The input is calculated for an area of 1 ha
+ input <- rate * as_units(1, "ha") * (1 - interception) * exp(as.numeric(-k_deg * t_runoff))
+ input_units <- units(input)
+ input_numeric <- drop_units(input)
if (length(Koc) > 1) stop("Only one compound at a time supported")
exposit_reduction_version <- match.arg(exposit_reduction_version)
- red_water <- pfm::perc_runoff_reduction_exposit[[exposit_reduction_version]]["dissolved"] / 100
- red_bound <- pfm::perc_runoff_reduction_exposit[[exposit_reduction_version]]["bound"] / 100
reduction_runoff <- pfm::perc_runoff_reduction_exposit[[exposit_reduction_version]] / 100
+
transfer_runoff <- 1 - reduction_runoff
- V_runoff <- V_event * (1 - reduction_runoff[["dissolved"]]) # m3
+ V_runoff <- V_event * (1 - reduction_runoff[["dissolved"]])
V_flowing_ditch_runoff <- dilution * (V_ditch + V_runoff)
-
+
f_runoff_exposit <- function(Koc) {
- Koc_breaks <- c(pfm::perc_runoff_exposit$Koc_lower_bound, Inf)
+ Koc_breaks <- c(pfm::perc_runoff_exposit$Koc_lower_bound, set_units(Inf, "L/kg"))
Koc_classes <- as.character(cut(Koc, Koc_breaks, labels = rownames(pfm::perc_runoff_exposit)))
perc_runoff <- pfm::perc_runoff_exposit[Koc_classes, c("dissolved", "bound")]
if (identical(Koc, 0)) perc_runoff <- c(dissolved = 0, bound = 0)
return(unlist(perc_runoff) / 100)
}
f_runoff <- f_runoff_exposit(Koc)
- runoff_dissolved <- input * f_runoff["dissolved"] * transfer_runoff["dissolved"]
- runoff_bound <- input * f_runoff["bound"] * transfer_runoff["bound"]
- runoff_input <- cbind(runoff_dissolved, runoff_bound)
- runoff_input$total <- runoff_input$dissolved + runoff_input$bound
- PEC_sw_runoff <- 1000 * runoff_input / V_flowing_ditch_runoff
+ runoff_dissolved <- input_numeric * f_runoff["dissolved"] * transfer_runoff[, "dissolved"]
+ runoff_bound <- input_numeric * f_runoff["bound"] * transfer_runoff[, "bound"]
+ runoff_input <- cbind(dissolved = runoff_dissolved, bound = runoff_bound,
+ total = runoff_dissolved + runoff_bound)
+ rownames(runoff_input) <- rownames(reduction_runoff)
+ units(runoff_input) <- input_units
+
+ dn <- dimnames(runoff_input)
+ PEC_sw_runoff <- set_units(runoff_input / V_flowing_ditch_runoff, "\u00B5g/L")
+ dimnames(PEC_sw_runoff) <- dn
result <- list(
perc_runoff = 100 * f_runoff,
- runoff = runoff_input,
- PEC_sw_runoff = PEC_sw_runoff)
+ runoff = as.data.frame(runoff_input),
+ PEC_sw_runoff = as.data.frame(PEC_sw_runoff))
return(result)
}
diff --git a/R/PEC_sw_sed.R b/R/PEC_sw_sed.R
index 2865ab7..28e12d8 100644
--- a/R/PEC_sw_sed.R
+++ b/R/PEC_sw_sed.R
@@ -10,24 +10,30 @@
#' @param method The method used for the calculation
#' @param sediment_depth Depth of the sediment layer
#' @param water_depth Depth of the water body in cm
-#' @param sediment_density The density of the sediment in L/kg (equivalent to
+#' @param sediment_density The density of the sediment in kg/L (equivalent to
#' g/cm3)
#' @param PEC_sed_units The units of the estimated sediment PEC value
#' @return The predicted concentration in sediment
#' @export
#' @author Johannes Ranke
#' @examples
+#' library(pfm)
+#' library(units)
#' PEC_sw_sed(PEC_sw_drift(100, distances = 1), percentage = 50)
PEC_sw_sed <- function(PEC_sw, percentage = 100, method = "percentage",
- sediment_depth = 5, water_depth = 30,
- sediment_density = 1.3,
+ sediment_depth = set_units(5, "cm"),
+ water_depth = set_units(30, "cm"),
+ sediment_density = set_units(1.3, "kg/L"),
PEC_sed_units = c("\u00B5g/kg", "mg/kg"))
{
- method = match.arg(method)
- PEC_sed_units = match.arg(PEC_sed_units)
+ if (!inherits(PEC_sw, "units")) PEC_sw <- set_units(PEC_sw, "\u00B5g/L")
+ if (!inherits(sediment_depth, "units")) PEC_sw <- set_units(sediment_depth, "cm")
+ if (!inherits(water_depth, "units")) PEC_sw <- set_units(water_depth, "cm")
+ if (!inherits(sediment_density, "units")) PEC_sw <- set_units(sediment_density, "cm")
+ method <- match.arg(method)
+ PEC_sed_units <- match.arg(PEC_sed_units)
if (method == "percentage") {
- PEC_sed = PEC_sw * (percentage/100) * (water_depth / sediment_depth) * (1 / sediment_density)
- if (PEC_sed_units == "mg/kg") PEC_sed <- PEC_sed / 1000
+ PEC_sed <- PEC_sw * (percentage/100) * as.numeric((water_depth / sediment_depth)) * (1 / sediment_density)
}
- return(PEC_sed)
+ return(set_units(PEC_sed, PEC_sed_units, mode = "symbolic"))
}
diff --git a/README.html b/README.html
index 335e340..50fd426 100644
--- a/README.html
+++ b/README.html
@@ -355,7 +355,28 @@ display: none;
<div id="pfm" class="section level1">
<h1>pfm</h1>
-<p><a href="https://jranke.r-universe.dev/ui/#package:pfm"><img src="data:image/svg+xml; charset=utf-8;base64,PHN2ZyB3aWR0aD0iMTA1LjgiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxMDU4IDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiByb2xlPSJpbWciIGFyaWEtbGFiZWw9InItdW5pdmVyc2U6IDAuNi4xIj4KICA8YSBocmVmPSJodHRwczovL2pyYW5rZS5yLXVuaXZlcnNlLmRldi9wZm0iIGFsdD0ici11bml2ZXJzZSI+CiAgPHRpdGxlPnItdW5pdmVyc2U6IDAuNi4xPC90aXRsZT4KICA8bGluZWFyR3JhZGllbnQgaWQ9IktzR0FzIiB4Mj0iMCIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwIiBzdG9wLW9wYWNpdHk9Ii4xIiBzdG9wLWNvbG9yPSIjRUVFIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxtYXNrIGlkPSJxTWljbyI+PHJlY3Qgd2lkdGg9IjEwNTgiIGhlaWdodD0iMjAwIiByeD0iMzAiIGZpbGw9IiNGRkYiLz48L21hc2s+CiAgPGcgbWFzaz0idXJsKCNxTWljbykiPgogICAgPHJlY3Qgd2lkdGg9IjY2OCIgaGVpZ2h0PSIyMDAiIGZpbGw9IiM1NTUiLz4KICAgIDxyZWN0IHdpZHRoPSIzOTAiIGhlaWdodD0iMjAwIiBmaWxsPSIjM0MxIiB4PSI2NjgiLz4KICAgIDxyZWN0IHdpZHRoPSIxMDU4IiBoZWlnaHQ9IjIwMCIgZmlsbD0idXJsKCNLc0dBcykiLz4KICA8L2c+CiAgPGcgYXJpYS1oaWRkZW49InRydWUiIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJzdGFydCIgZm9udC1mYW1pbHk9IlZlcmRhbmEsRGVqYVZ1IFNhbnMsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMTAiPgogICAgPHRleHQgeD0iNjAiIHk9IjE0OCIgdGV4dExlbmd0aD0iNTY4IiBmaWxsPSIjMDAwIiBvcGFjaXR5PSIwLjI1Ij5yLXVuaXZlcnNlPC90ZXh0PgogICAgPHRleHQgeD0iNTAiIHk9IjEzOCIgdGV4dExlbmd0aD0iNTY4Ij5yLXVuaXZlcnNlPC90ZXh0PgogICAgPHRleHQgeD0iNzIzIiB5PSIxNDgiIHRleHRMZW5ndGg9IjI5MCIgZmlsbD0iIzAwMCIgb3BhY2l0eT0iMC4yNSI+MC42LjE8L3RleHQ+CiAgICA8dGV4dCB4PSI3MTMiIHk9IjEzOCIgdGV4dExlbmd0aD0iMjkwIj4wLjYuMTwvdGV4dD4KICA8L2c+CiAgCiAgPC9hPgo8L3N2Zz4=" alt="pfm status badge" /></a> <a href="https://codecov.io/github/jranke/pfm"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTIiIGhlaWdodD0iMjAiPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJiIiB4Mj0iMCIgeTI9IjEwMCUiPgogICAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2JiYiIgc3RvcC1vcGFjaXR5PSIuMSIgLz4KICAgICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiIC8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPG1hc2sgaWQ9ImEiPgogICAgICAgIDxyZWN0IHdpZHRoPSIxMTIiIGhlaWdodD0iMjAiIHJ4PSIzIiBmaWxsPSIjZmZmIiAvPgogICAgPC9tYXNrPgogICAgPGcgbWFzaz0idXJsKCNhKSI+CiAgICAgICAgPHBhdGggZmlsbD0iIzU1NSIgZD0iTTAgMGg3M3YyMEgweiIgLz4KICAgICAgICA8cGF0aCBmaWxsPSIjZTA1ZDQ0IiBkPSJNNzMgMGgzOXYyMEg3M3oiIC8+CiAgICAgICAgPHBhdGggZmlsbD0idXJsKCNiKSIgZD0iTTAgMGgxMTJ2MjBIMHoiIC8+CiAgICA8L2c+CiAgICA8ZyBmaWxsPSIjZmZmIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iRGVqYVZ1IFNhbnMsVmVyZGFuYSxHZW5ldmEsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMSI+CiAgICAgICAgPHRleHQgeD0iNDYiIHk9IjE1IiBmaWxsPSIjMDEwMTAxIiBmaWxsLW9wYWNpdHk9Ii4zIj5jb2RlY292PC90ZXh0PgogICAgICAgIDx0ZXh0IHg9IjQ2IiB5PSIxNCI+Y29kZWNvdjwvdGV4dD4KICAgICAgICA8dGV4dCB4PSI5MyIgeT0iMTUiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiPjY3JTwvdGV4dD4KICAgICAgICA8dGV4dCB4PSI5MyIgeT0iMTQiPjY3JTwvdGV4dD4KICAgIDwvZz4KICAgIDxzdmcgdmlld0JveD0iMTIwIC04IDYwIDYwIj4KICAgICAgICA8cGF0aCBkPSJNMjMuMDEzIDBDMTAuMzMzLjAwOS4wMSAxMC4yMiAwIDIyLjc2MnYuMDU4bDMuOTE0IDIuMjc1LjA1My0uMDM2YTExLjI5MSAxMS4yOTEgMCAwIDEgOC4zNTItMS43NjcgMTAuOTExIDEwLjkxMSAwIDAgMSA1LjUgMi43MjZsLjY3My42MjQuMzgtLjgyOGMuMzY4LS44MDIuNzkzLTEuNTU2IDEuMjY0LTIuMjQuMTktLjI3Ni4zOTgtLjU1NC42MzctLjg1MWwuMzkzLS40OS0uNDg0LS40MDRhMTYuMDggMTYuMDggMCAwIDAtNy40NTMtMy40NjYgMTYuNDgyIDE2LjQ4MiAwIDAgMC03LjcwNS40NDlDNy4zODYgMTAuNjgzIDE0LjU2IDUuMDE2IDIzLjAzIDUuMDFjNC43NzkgMCA5LjI3MiAxLjg0IDEyLjY1MSA1LjE4IDIuNDEgMi4zODIgNC4wNjkgNS4zNSA0LjgwNyA4LjU5MWExNi41MyAxNi41MyAwIDAgMC00Ljc5Mi0uNzIzbC0uMjkyLS4wMDJhMTYuNzA3IDE2LjcwNyAwIDAgMC0xLjkwMi4xNGwtLjA4LjAxMmMtLjI4LjAzNy0uNTI0LjA3NC0uNzQ4LjExNS0uMTEuMDE5LS4yMTguMDQxLS4zMjcuMDYzLS4yNTcuMDUyLS41MS4xMDgtLjc1LjE2OWwtLjI2NS4wNjdhMTYuMzkgMTYuMzkgMCAwIDAtLjkyNi4yNzZsLS4wNTYuMDE4Yy0uNjgyLjIzLTEuMzYuNTExLTIuMDE2LjgzOGwtLjA1Mi4wMjZjLS4yOS4xNDUtLjU4NC4zMDUtLjg5OS40OWwtLjA2OS4wNGExNS41OTYgMTUuNTk2IDAgMCAwLTQuMDYxIDMuNDY2bC0uMTQ1LjE3NWMtLjI5LjM2LS41MjEuNjY2LS43MjMuOTYtLjE3LjI0Ny0uMzQuNTEzLS41NTIuODY0bC0uMTE2LjE5OWMtLjE3LjI5Mi0uMzIuNTctLjQ0OS44MjRsLS4wMy4wNTdhMTYuMTE2IDE2LjExNiAwIDAgMC0uODQzIDIuMDI5bC0uMDM0LjEwMmExNS42NSAxNS42NSAwIDAgMC0uNzg2IDUuMTc0bC4wMDMuMjE0YTIxLjUyMyAyMS41MjMgMCAwIDAgLjA0Ljc1NGMuMDA5LjExOS4wMi4yMzcuMDMyLjM1NS4wMTQuMTQ1LjAzMi4yOS4wNDkuNDMybC4wMS4wOGMuMDEuMDY3LjAxNy4xMzMuMDI2LjE5Ny4wMzQuMjQyLjA3NC40OC4xMTkuNzIuNDYzIDIuNDE5IDEuNjIgNC44MzYgMy4zNDUgNi45OWwuMDc4LjA5OC4wOC0uMDk1Yy42ODgtLjgxIDIuMzk1LTMuMzggMi41MzktNC45MjJsLjAwMy0uMDI5LS4wMTQtLjAyNWExMC43MjcgMTAuNzI3IDAgMCAxLTEuMjI2LTQuOTU2YzAtNS43NiA0LjU0NS0xMC41NDQgMTAuMzQzLTEwLjg5bC4zODEtLjAxNGExMS40MDMgMTEuNDAzIDAgMCAxIDYuNjUxIDEuOTU3bC4wNTQuMDM2IDMuODYyLTIuMjM3LjA1LS4wM3YtLjA1NmMuMDA2LTYuMDgtMi4zODQtMTEuNzkzLTYuNzI5LTE2LjA4OUMzNC45MzIgMi4zNjEgMjkuMTYgMCAyMy4wMTMgMCIgZmlsbD0iI0YwMUY3QSIgZmlsbC1ydWxlPSJldmVub2RkIi8+CiAgICA8L3N2Zz4KPC9zdmc+" alt="codecov" /></a></p>
+<p><a href="https://jranke.r-universe.dev/ui/#package:pfm"><img src="data:image/svg+xml; charset=utf-8;base64,PHN2ZyB3aWR0aD0iMTA1LjgiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxMDU4IDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiByb2xlPSJpbWciIGFyaWEtbGFiZWw9InItdW5pdmVyc2U6IDAuNi4yIj4KICA8YSBocmVmPSJodHRwczovL2pyYW5rZS5yLXVuaXZlcnNlLmRldi9wZm0iIGFsdD0ici11bml2ZXJzZSI+CiAgPHRpdGxlPnItdW5pdmVyc2U6IDAuNi4yPC90aXRsZT4KICA8bGluZWFyR3JhZGllbnQgaWQ9InFRUEFWIiB4Mj0iMCIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwIiBzdG9wLW9wYWNpdHk9Ii4xIiBzdG9wLWNvbG9yPSIjRUVFIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxtYXNrIGlkPSJMTFBVTCI+PHJlY3Qgd2lkdGg9IjEwNTgiIGhlaWdodD0iMjAwIiByeD0iMzAiIGZpbGw9IiNGRkYiLz48L21hc2s+CiAgPGcgbWFzaz0idXJsKCNMTFBVTCkiPgogICAgPHJlY3Qgd2lkdGg9IjY2OCIgaGVpZ2h0PSIyMDAiIGZpbGw9IiM1NTUiLz4KICAgIDxyZWN0IHdpZHRoPSIzOTAiIGhlaWdodD0iMjAwIiBmaWxsPSIjM0MxIiB4PSI2NjgiLz4KICAgIDxyZWN0IHdpZHRoPSIxMDU4IiBoZWlnaHQ9IjIwMCIgZmlsbD0idXJsKCNxUVBBVikiLz4KICA8L2c+CiAgPGcgYXJpYS1oaWRkZW49InRydWUiIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJzdGFydCIgZm9udC1mYW1pbHk9IlZlcmRhbmEsRGVqYVZ1IFNhbnMsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMTAiPgogICAgPHRleHQgeD0iNjAiIHk9IjE0OCIgdGV4dExlbmd0aD0iNTY4IiBmaWxsPSIjMDAwIiBvcGFjaXR5PSIwLjI1Ij5yLXVuaXZlcnNlPC90ZXh0PgogICAgPHRleHQgeD0iNTAiIHk9IjEzOCIgdGV4dExlbmd0aD0iNTY4Ij5yLXVuaXZlcnNlPC90ZXh0PgogICAgPHRleHQgeD0iNzIzIiB5PSIxNDgiIHRleHRMZW5ndGg9IjI5MCIgZmlsbD0iIzAwMCIgb3BhY2l0eT0iMC4yNSI+MC42LjI8L3RleHQ+CiAgICA8dGV4dCB4PSI3MTMiIHk9IjEzOCIgdGV4dExlbmd0aD0iMjkwIj4wLjYuMjwvdGV4dD4KICA8L2c+CiAgCiAgPC9hPgo8L3N2Zz4=" alt="pfm status badge" /></a> <a href="https://app.travis-ci.com/jranke/pfm"><svg id="svg_6a7e16d9fbe5b315f689" alt="Build Status" width="90" height="20" viewBox="0 0 90 20"><linearGradient id="svg_6a7e16d9fbe5b315f689_a" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"></stop><stop offset="1" stop-opacity=".1"></stop></linearGradient><rect rx="3" width="90" height="20" fill="#555" /><rect rx="3" x="37" width="53" height="20" fill="#4c1" /><path fill="#4c1" d="M37 0h4v20h-4z" /><rect rx="3" width="90" height="20" fill="url(#a)" /><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="19.5" y="15" fill="#010101" fill-opacity=".3">build</text><text x="19.5" y="14">build</text><text x="62.5" y="15" fill="#010101" fill-opacity=".3">passing</text><text x="62.5" y="14">passing</text></g></svg></a> <a href="https://codecov.io/github/jranke/pfm"><svg id="svg_381f21cccdf3be4de45a" alt="codecov" width="112" height="20" viewBox="0 0 112 20">
+ <linearGradient id="svg_381f21cccdf3be4de45a_b" x2="0" y2="100%">
+ <stop offset="0" stop-color="#bbb" stop-opacity=".1"></stop>
+ <stop offset="1" stop-opacity=".1"></stop>
+ </linearGradient>
+ <mask id="svg_381f21cccdf3be4de45a_a">
+ <rect width="112" height="20" rx="3" fill="#fff" />
+ </mask>
+ <g mask="url(#a)">
+ <path fill="#555" d="M0 0h73v20H0z" />
+ <path fill="#e05d44" d="M73 0h39v20H73z" />
+ <path fill="url(#b)" d="M0 0h112v20H0z" />
+ </g>
+ <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
+ <text x="46" y="15" fill="#010101" fill-opacity=".3">codecov</text>
+ <text x="46" y="14">codecov</text>
+ <text x="93" y="15" fill="#010101" fill-opacity=".3">67%</text>
+ <text x="93" y="14">67%</text>
+ </g>
+ <svg viewBox="120 -8 60 60">
+ <path d="M23.013 0C10.333.009.01 10.22 0 22.762v.058l3.914 2.275.053-.036a11.291 11.291 0 0 1 8.352-1.767 10.911 10.911 0 0 1 5.5 2.726l.673.624.38-.828c.368-.802.793-1.556 1.264-2.24.19-.276.398-.554.637-.851l.393-.49-.484-.404a16.08 16.08 0 0 0-7.453-3.466 16.482 16.482 0 0 0-7.705.449C7.386 10.683 14.56 5.016 23.03 5.01c4.779 0 9.272 1.84 12.651 5.18 2.41 2.382 4.069 5.35 4.807 8.591a16.53 16.53 0 0 0-4.792-.723l-.292-.002a16.707 16.707 0 0 0-1.902.14l-.08.012c-.28.037-.524.074-.748.115-.11.019-.218.041-.327.063-.257.052-.51.108-.75.169l-.265.067a16.39 16.39 0 0 0-.926.276l-.056.018c-.682.23-1.36.511-2.016.838l-.052.026c-.29.145-.584.305-.899.49l-.069.04a15.596 15.596 0 0 0-4.061 3.466l-.145.175c-.29.36-.521.666-.723.96-.17.247-.34.513-.552.864l-.116.199c-.17.292-.32.57-.449.824l-.03.057a16.116 16.116 0 0 0-.843 2.029l-.034.102a15.65 15.65 0 0 0-.786 5.174l.003.214a21.523 21.523 0 0 0 .04.754c.009.119.02.237.032.355.014.145.032.29.049.432l.01.08c.01.067.017.133.026.197.034.242.074.48.119.72.463 2.419 1.62 4.836 3.345 6.99l.078.098.08-.095c.688-.81 2.395-3.38 2.539-4.922l.003-.029-.014-.025a10.727 10.727 0 0 1-1.226-4.956c0-5.76 4.545-10.544 10.343-10.89l.381-.014a11.403 11.403 0 0 1 6.651 1.957l.054.036 3.862-2.237.05-.03v-.056c.006-6.08-2.384-11.793-6.729-16.089C34.932 2.361 29.16 0 23.013 0" fill="#F01F7A" fill-rule="evenodd" />
+ </svg></a></p>
<p>The R package <strong>pfm</strong> provides some utilities for fate
modelling, including dealing with FOCUS pesticide fate modelling tools,
(currently only TOXSWA cwa and out files), made available under the GNU
diff --git a/README.md b/README.md
index 20ea34c..59217fe 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# pfm
[![pfm status badge](https://jranke.r-universe.dev/badges/pfm)](https://jranke.r-universe.dev/ui/#package:pfm)
+[![Build Status](https://app.travis-ci.com/jranke/pfm.svg?token=Sq9VuYWyRz2FbBLxu6DK&branch=main)](https://app.travis-ci.com/jranke/pfm)
[![codecov](https://codecov.io/github/jranke/pfm/branch/main/graphs/badge.svg)](https://codecov.io/github/jranke/pfm)
The R package **pfm** provides some utilities for fate modelling, including
diff --git a/data/perc_runoff.RData b/data/perc_runoff.RData
deleted file mode 100644
index 249820e..0000000
--- a/data/perc_runoff.RData
+++ /dev/null
Binary files differ
diff --git a/data/perc_runoff_exposit.RData b/data/perc_runoff_exposit.RData
new file mode 100644
index 0000000..33386dc
--- /dev/null
+++ b/data/perc_runoff_exposit.RData
Binary files differ
diff --git a/data/perc_runoff_reduction_exposit.RData b/data/perc_runoff_reduction_exposit.RData
new file mode 100644
index 0000000..bcf030d
--- /dev/null
+++ b/data/perc_runoff_reduction_exposit.RData
Binary files differ
diff --git a/docs/404.html b/docs/404.html
index 7e83442..e41a30d 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -8,56 +8,44 @@
<title>Page not found (404) • pfm</title>
<script src="https://pkgdown.jrwb.de/pfm/deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://pkgdown.jrwb.de/pfm/deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet">
-<script src="https://pkgdown.jrwb.de/pfm/deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous">
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous">
-<!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="https://pkgdown.jrwb.de/pfm/pkgdown.js"></script><meta property="og:title" content="Page not found (404)">
-<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]-->
+<script src="https://pkgdown.jrwb.de/pfm/deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="https://pkgdown.jrwb.de/pfm/pkgdown.js"></script><meta property="og:title" content="Page not found (404)">
</head>
<body>
<a href="https://pkgdown.jrwb.de/pfm/#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="https://pkgdown.jrwb.de/pfm/index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.2</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
<ul class="navbar-nav me-auto">
-<li class="nav-item">
- <a class="nav-link" href="https://pkgdown.jrwb.de/pfm/reference/index.html">Reference</a>
-</li>
+<li class="nav-item"><a class="nav-link" href="https://pkgdown.jrwb.de/pfm/reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="https://pkgdown.jrwb.de/pfm/news/index.html">Changelog</a></li>
</ul>
-<form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="search.json" id="search-input" placeholder="Search for" autocomplete="off">
-</form>
-
- <ul class="navbar-nav">
-<li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+<ul class="navbar-nav">
+<li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="search.json">
+</form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul>
</div>
-
+
</div>
</nav><div class="container template-title-body">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="https://pkgdown.jrwb.de/pfm/" class="logo" alt=""><h1>Page not found (404)</h1>
-
+
+ <h1>Page not found (404)</h1>
+
</div>
Content not found. Please use links in the navbar.
@@ -67,21 +55,19 @@ Content not found. Please use links in the navbar.
<footer><div class="pkgdown-footer-left">
- <p></p>
-<p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p>
-<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer>
</div>
-
-
+
+
</body>
</html>
diff --git a/docs/authors.html b/docs/authors.html
index fac5267..937daa8 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -1,87 +1,79 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Authors and Citation • pfm</title><script src="deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="pkgdown.js"></script><meta property="og:title" content="Authors and Citation"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Authors and Citation • pfm</title><script src="deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="pkgdown.js"></script><meta property="og:title" content="Authors and Citation"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.2</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="nav-item">
- <a class="nav-link" href="reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="nav-item"><a class="nav-link" href="reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-citation-authors">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Authors and Citation</h1>
+
+ <h1>Authors and Citation</h1>
</div>
- <div class="section level2 citation">
+ <div class="section level2">
<h2>Authors</h2>
-
+
<ul class="list-unstyled"><li>
<p><strong>Johannes Ranke</strong>. Author, maintainer. <a href="https://orcid.org/0000-0003-4371-6538" target="orcid.widget" aria-label="ORCID" class="external-link"><span class="fab fa-orcid orcid" aria-hidden="true"></span></a>
</p>
</li>
</ul></div>
- <div class="section level2 citation">
+ <div class="section level2">
<h2 id="citation">Citation</h2>
<p><small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p>
<p>Johannes Ranke (2024).
<em>pfm: Utilities for Pesticide Fate Modelling</em>.
-R package version 0.6.2, https://github.com/jranke/pfm, <a href="https://pkgdown.jrwb.de/pfm">https://pkgdown.jrwb.de/pfm</a>.
+R package version 0.6.3, https://github.com/jranke/pfm, <a href="https://pkgdown.jrwb.de/pfm">https://pkgdown.jrwb.de/pfm</a>.
</p>
<pre>@Manual{,
title = {pfm: Utilities for Pesticide Fate Modelling},
author = {{Johannes Ranke}},
year = {2024},
- note = {R package version 0.6.2, https://github.com/jranke/pfm},
+ note = {R package version 0.6.3, https://github.com/jranke/pfm},
url = {https://pkgdown.jrwb.de/pfm},
}</pre>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/index.html b/docs/index.html
index 1c37ff1..590ed7b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -5,66 +5,49 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-<meta name="description" content="Utilities for simple calculations of predicted environmental
- concentrations (PEC values) and for dealing with data from some FOCUS
- pesticide fate modelling software packages.">
<title>Utilities for Pesticide Fate Modelling • pfm</title>
<script src="deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet">
-<script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous">
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous">
-<!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="pkgdown.js"></script><meta property="og:title" content="Utilities for Pesticide Fate Modelling">
-<meta property="og:description" content="Utilities for simple calculations of predicted environmental
- concentrations (PEC values) and for dealing with data from some FOCUS
- pesticide fate modelling software packages.">
-<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]-->
+<script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="pkgdown.js"></script><meta property="og:title" content="Utilities for Pesticide Fate Modelling">
+<meta name="description" content="Utilities for simple calculations of predicted environmental concentrations (PEC values) and for dealing with data from some FOCUS pesticide fate modelling software packages.">
+<meta property="og:description" content="Utilities for simple calculations of predicted environmental concentrations (PEC values) and for dealing with data from some FOCUS pesticide fate modelling software packages.">
</head>
<body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.2</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
<ul class="navbar-nav me-auto">
-<li class="nav-item">
- <a class="nav-link" href="reference/index.html">Reference</a>
-</li>
+<li class="nav-item"><a class="nav-link" href="reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="news/index.html">Changelog</a></li>
</ul>
-<form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="search.json" id="search-input" placeholder="Search for" autocomplete="off">
-</form>
-
- <ul class="navbar-nav">
-<li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+<ul class="navbar-nav">
+<li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="search.json">
+</form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul>
</div>
-
+
</div>
</nav><div class="container template-home">
<div class="row">
<main id="main" class="col-md-9"><div class="section level1">
<div class="page-header"><h1 id="pfm">pfm<a class="anchor" aria-label="anchor" href="#pfm"></a>
</h1></div>
-<p><a href="https://jranke.r-universe.dev/ui/#package:pfm" class="external-link"><img src="https://jranke.r-universe.dev/badges/pfm" alt="pfm status badge"></a> <a href="https://codecov.io/github/jranke/pfm" class="external-link"><img src="https://codecov.io/github/jranke/pfm/branch/main/graphs/badge.svg" alt="codecov"></a></p>
+<p><a href="https://jranke.r-universe.dev/ui/#package:pfm" class="external-link"><img src="https://jranke.r-universe.dev/badges/pfm" alt="pfm status badge"></a> <a href="https://app.travis-ci.com/jranke/pfm" class="external-link"><img src="https://app.travis-ci.com/jranke/pfm.svg?token=Sq9VuYWyRz2FbBLxu6DK&amp;branch=main" alt="Build Status"></a> <a href="https://codecov.io/github/jranke/pfm" class="external-link"><img src="https://codecov.io/github/jranke/pfm/branch/main/graphs/badge.svg" alt="codecov"></a></p>
<p>The R package <strong>pfm</strong> provides some utilities for fate modelling, including dealing with FOCUS pesticide fate modelling tools, (currently only TOXSWA cwa and out files), made available under the GNU public license.</p>
<div class="section level2">
<h2 id="installation">Installation<a class="anchor" aria-label="anchor" href="#installation"></a>
@@ -145,21 +128,19 @@ Korkaric M, Hanke I, Grossar D, Neuweiler R, Christ B, Wirth J, Hochstrasser M,
<footer><div class="pkgdown-footer-left">
- <p></p>
-<p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p>
-<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer>
</div>
-
-
+
+
</body>
</html>
diff --git a/docs/news/index.html b/docs/news/index.html
new file mode 100644
index 0000000..f3a3f14
--- /dev/null
+++ b/docs/news/index.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Changelog • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Changelog"></head><body>
+ <a href="#main" class="visually-hidden-focusable">Skip to contents</a>
+
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
+ <a class="navbar-brand me-2" href="../index.html">pfm</a>
+
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
+
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div id="navbar" class="collapse navbar-collapse ms-3">
+ <ul class="navbar-nav me-auto"><li class="nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="active nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
+ </ul></div>
+
+
+ </div>
+</nav><div class="container template-news">
+<div class="row">
+ <main id="main" class="col-md-9"><div class="page-header">
+
+ <h1>Changelog</h1>
+ <small>Source: <a href="https://github.com/jranke/pfm/blob/HEAD/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
+ </div>
+
+ <div class="section level2">
+<h2 class="pkg-version" data-toc-text="0.6.3" id="version-063">version 0.6.3<a class="anchor" aria-label="anchor" href="#version-063"></a></h2>
+<ul><li><p>R/{PEC_sw_drift,PEC_sw_exposit_runoff,PEC_sw_sed}.R: Make use of the <code>units</code> package.</p></li>
+<li><p>R/PEC_sw_drift.R: Change argument name from ‘crop_group_focus’ to ‘crop_group_RF’, in order to make it easier to understand the relation to the ‘drift_data’ argument.</p></li>
+</ul></div>
+ </main></div>
+
+
+ <footer><div class="pkgdown-footer-left">
+ <p>Developed by Johannes Ranke.</p>
+</div>
+
+<div class="pkgdown-footer-right">
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
+</div>
+
+ </footer></div>
+
+
+
+
+
+ </body></html>
+
diff --git a/docs/reference/EFSA_GW_interception_2014.html b/docs/reference/EFSA_GW_interception_2014.html
index 555509e..cf97c02 100644
--- a/docs/reference/EFSA_GW_interception_2014.html
+++ b/docs/reference/EFSA_GW_interception_2014.html
@@ -1,43 +1,34 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Subset of EFSA crop interception default values for groundwater modelling"><title>Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014"><meta property="og:description" content="Subset of EFSA crop interception default values for groundwater modelling"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014"><meta name="description" content="Subset of EFSA crop interception default values for groundwater modelling"><meta property="og:description" content="Subset of EFSA crop interception default values for groundwater modelling"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Subset of EFSA crop interception default values for groundwater modelling</h1>
+
+ <h1>Subset of EFSA crop interception default values for groundwater modelling</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/EFSA_GW_interception_2014.R" class="external-link"><code>R/EFSA_GW_interception_2014.R</code></a></small>
<div class="d-none name"><code>EFSA_GW_interception_2014.Rd</code></div>
</div>
@@ -78,23 +69,23 @@ products of these active substances in soil. <em>EFSA Journal</em>
<span class="r-out co"><span class="r-pr">#&gt;</span> Winter cereals 0 0.00 0.20 0.80 0.90 0.90 0.90 0.80 0.80 0.80</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/EFSA_washoff_2017.html b/docs/reference/EFSA_washoff_2017.html
index 3603cda..a6b51d9 100644
--- a/docs/reference/EFSA_washoff_2017.html
+++ b/docs/reference/EFSA_washoff_2017.html
@@ -1,43 +1,34 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Subset of EFSA crop washoff default values"><title>Subset of EFSA crop washoff default values — EFSA_washoff_2017 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Subset of EFSA crop washoff default values — EFSA_washoff_2017"><meta property="og:description" content="Subset of EFSA crop washoff default values"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Subset of EFSA crop washoff default values — EFSA_washoff_2017 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Subset of EFSA crop washoff default values — EFSA_washoff_2017"><meta name="description" content="Subset of EFSA crop washoff default values"><meta property="og:description" content="Subset of EFSA crop washoff default values"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Subset of EFSA crop washoff default values</h1>
+
+ <h1>Subset of EFSA crop washoff default values</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/EFSA_washoff_2017.R" class="external-link"><code>R/EFSA_washoff_2017.R</code></a></small>
<div class="d-none name"><code>EFSA_washoff_2017.Rd</code></div>
</div>
@@ -78,23 +69,23 @@ doi:10.2903/j.efsa.2017.4982</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> Winter cereals NA 0.10 0.40 0.60 0.55 0.55 0.55 0.60 0.60 0.40</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/FOCUS_GW_scenarios_2012.html b/docs/reference/FOCUS_GW_scenarios_2012.html
index 20140cc..b2295c5 100644
--- a/docs/reference/FOCUS_GW_scenarios_2012.html
+++ b/docs/reference/FOCUS_GW_scenarios_2012.html
@@ -1,45 +1,36 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Currently, only scenario names with acronyms and a small subset of the soil definitions are provided. The
-soil definitions are from page 46ff. from FOCUS (2012)."><title>A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012"><meta property="og:description" content="Currently, only scenario names with acronyms and a small subset of the soil definitions are provided. The
-soil definitions are from page 46ff. from FOCUS (2012)."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012"><meta name="description" content="Currently, only scenario names with acronyms and a small subset of the soil definitions are provided. The
+soil definitions are from page 46ff. from FOCUS (2012)."><meta property="og:description" content="Currently, only scenario names with acronyms and a small subset of the soil definitions are provided. The
+soil definitions are from page 46ff. from FOCUS (2012)."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>A very small subset of the FOCUS Groundwater scenario definitions</h1>
+
+ <h1>A very small subset of the FOCUS Groundwater scenario definitions</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/FOCUS_GW_scenarios_2012.R" class="external-link"><code>R/FOCUS_GW_scenarios_2012.R</code></a></small>
<div class="d-none name"><code>FOCUS_GW_scenarios_2012.Rd</code></div>
</div>
@@ -130,23 +121,23 @@ http://focus.jrc.ec.europa.eu/gw/docs/Generic_guidance_FOCV2_1.pdf</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/FOCUS_Step_12_scenarios.html b/docs/reference/FOCUS_Step_12_scenarios.html
index aab1d87..536b974 100644
--- a/docs/reference/FOCUS_Step_12_scenarios.html
+++ b/docs/reference/FOCUS_Step_12_scenarios.html
@@ -1,45 +1,36 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="The data were extracted from the scenario.txt file using the R code shown below.
-The text file is not included in the package as its licence is not clear."><title>Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios"><meta property="og:description" content="The data were extracted from the scenario.txt file using the R code shown below.
-The text file is not included in the package as its licence is not clear."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios"><meta name="description" content="The data were extracted from the scenario.txt file using the R code shown below.
+The text file is not included in the package as its licence is not clear."><meta property="og:description" content="The data were extracted from the scenario.txt file using the R code shown below.
+The text file is not included in the package as its licence is not clear."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator</h1>
+
+ <h1>Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/FOCUS_Step_12_scenarios.R" class="external-link"><code>R/FOCUS_Step_12_scenarios.R</code></a></small>
<div class="d-none name"><code>FOCUS_Step_12_scenarios.Rd</code></div>
</div>
@@ -101,23 +92,23 @@ calculations in a matrix called 'rd'.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> list()</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/FOMC_actual_twa.html b/docs/reference/FOMC_actual_twa.html
index b66cd35..1e0fd64 100644
--- a/docs/reference/FOMC_actual_twa.html
+++ b/docs/reference/FOMC_actual_twa.html
@@ -1,43 +1,34 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Actual and maximum moving window time average concentrations for FOMC kinetics"><title>Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa"><meta property="og:description" content="Actual and maximum moving window time average concentrations for FOMC kinetics"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa"><meta name="description" content="Actual and maximum moving window time average concentrations for FOMC kinetics"><meta property="og:description" content="Actual and maximum moving window time average concentrations for FOMC kinetics"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Actual and maximum moving window time average concentrations for FOMC kinetics</h1>
+
+ <h1>Actual and maximum moving window time average concentrations for FOMC kinetics</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/FOMC_actual_twa.R" class="external-link"><code>R/FOMC_actual_twa.R</code></a></small>
<div class="d-none name"><code>FOMC_actual_twa.Rd</code></div>
</div>
@@ -63,15 +54,17 @@ Kinetics from Environmental Fate Studies on Pesticides in EU Registration, Versi
</div>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>alpha</dt>
+
+
+<dl><dt id="arg-alpha">alpha<a class="anchor" aria-label="anchor" href="#arg-alpha"></a></dt>
<dd><p>Parameter of the FOMC model</p></dd>
-<dt>beta</dt>
+<dt id="arg-beta">beta<a class="anchor" aria-label="anchor" href="#arg-beta"></a></dt>
<dd><p>Parameter of the FOMC model</p></dd>
-<dt>times</dt>
+<dt id="arg-times">times<a class="anchor" aria-label="anchor" href="#arg-times"></a></dt>
<dd><p>The output times, and window sizes for time weighted average concentrations</p></dd>
</dl></div>
@@ -97,23 +90,23 @@ Kinetics from Environmental Fate Studies on Pesticides in EU Registration, Versi
<span class="r-out co"><span class="r-pr">#&gt;</span> 100 0.09088729 0.2397608</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/GUS.chent.html b/docs/reference/GUS.chent.html
new file mode 100644
index 0000000..15d3826
--- /dev/null
+++ b/docs/reference/GUS.chent.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/GUS.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/GUS.html">
+ </head>
+</html>
+
diff --git a/docs/reference/GUS.html b/docs/reference/GUS.html
index 7638dcd..a613d98 100644
--- a/docs/reference/GUS.html
+++ b/docs/reference/GUS.html
@@ -1,47 +1,38 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="The groundwater ubiquity score GUS is calculated according to
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Groundwater ubiquity score based on Gustafson (1989) — GUS • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Groundwater ubiquity score based on Gustafson (1989) — GUS"><meta name="description" content="The groundwater ubiquity score GUS is calculated according to
the following equation
-$$GUS = \log_{10} DT50_{soil} (4 - \log_{10} K_{oc})$$"><title>Groundwater ubiquity score based on Gustafson (1989) — GUS • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Groundwater ubiquity score based on Gustafson (1989) — GUS"><meta property="og:description" content="The groundwater ubiquity score GUS is calculated according to
+$$GUS = \log_{10} DT50_{soil} (4 - \log_{10} K_{oc})$$"><meta property="og:description" content="The groundwater ubiquity score GUS is calculated according to
the following equation
-$$GUS = \log_{10} DT50_{soil} (4 - \log_{10} K_{oc})$$"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+$$GUS = \log_{10} DT50_{soil} (4 - \log_{10} K_{oc})$$"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Groundwater ubiquity score based on Gustafson (1989)</h1>
+
+ <h1>Groundwater ubiquity score based on Gustafson (1989)</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/GUS.R" class="external-link"><code>R/GUS.R</code></a></small>
<div class="d-none name"><code>GUS.Rd</code></div>
</div>
@@ -56,10 +47,10 @@ $$GUS = \log_{10} DT50_{soil} (4 - \log_{10} K_{oc})$$</p>
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">GUS</span><span class="op">(</span><span class="va">...</span><span class="op">)</span></span>
<span></span>
-<span><span class="co"># S3 method for numeric</span></span>
+<span><span class="co"># S3 method for class 'numeric'</span></span>
<span><span class="fu">GUS</span><span class="op">(</span><span class="va">DT50</span>, <span class="va">Koc</span>, <span class="va">...</span><span class="op">)</span></span>
<span></span>
-<span><span class="co"># S3 method for chent</span></span>
+<span><span class="co"># S3 method for class 'chent'</span></span>
<span><span class="fu">GUS</span><span class="op">(</span></span>
<span> <span class="va">chent</span>,</span>
<span> degradation_value <span class="op">=</span> <span class="st">"DT50ref"</span>,</span>
@@ -71,18 +62,20 @@ $$GUS = \log_{10} DT50_{soil} (4 - \log_{10} K_{oc})$$</p>
<span> <span class="va">...</span></span>
<span><span class="op">)</span></span>
<span></span>
-<span><span class="co"># S3 method for GUS_result</span></span>
+<span><span class="co"># S3 method for class 'GUS_result'</span></span>
<span><span class="fu"><a href="https://rdrr.io/r/base/print.html" class="external-link">print</a></span><span class="op">(</span><span class="va">x</span>, <span class="va">...</span>, digits <span class="op">=</span> <span class="fl">1</span><span class="op">)</span></span></code></pre></div>
</div>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>...</dt>
+
+
+<dl><dt id="arg--">...<a class="anchor" aria-label="anchor" href="#arg--"></a></dt>
<dd><p>Included in the generic to allow for further arguments later. Therefore
this also had to be added to the specific methods.</p></dd>
-<dt>DT50</dt>
+<dt id="arg-dt-">DT50<a class="anchor" aria-label="anchor" href="#arg-dt-"></a></dt>
<dd><p>Half-life of the chemical in soil. Should be a field
half-life according to Gustafson (1989). However, leaching to the sub-soil
can not completely be excluded in field dissipation experiments and Gustafson
@@ -90,7 +83,7 @@ did not refer to any normalisation procedure, but says the field study should
be conducted under use conditions.</p></dd>
-<dt>Koc</dt>
+<dt id="arg-koc">Koc<a class="anchor" aria-label="anchor" href="#arg-koc"></a></dt>
<dd><p>The sorption constant normalised to organic carbon. Gustafson
does not mention the nonlinearity of the sorption constant commonly
found and usually described by Freundlich sorption, therefore it is
@@ -98,17 +91,17 @@ unclear at which reference concentration the Koc should be observed
(and if the reference concentration would be in soil or in porewater).</p></dd>
-<dt>chent</dt>
+<dt id="arg-chent">chent<a class="anchor" aria-label="anchor" href="#arg-chent"></a></dt>
<dd><p>If a chent is given with appropriate information present in its
chyaml field, this information is used, with defaults specified below.</p></dd>
-<dt>degradation_value</dt>
+<dt id="arg-degradation-value">degradation_value<a class="anchor" aria-label="anchor" href="#arg-degradation-value"></a></dt>
<dd><p>Which of the available degradation values should
be used?</p></dd>
-<dt>lab_field</dt>
+<dt id="arg-lab-field">lab_field<a class="anchor" aria-label="anchor" href="#arg-lab-field"></a></dt>
<dd><p>Should laboratory or field half-lives be used? This
defaults to lab in this implementation, in order to avoid
double-accounting for mobility. If comparability with the original GUS
@@ -116,11 +109,11 @@ values given by Gustafson (1989) is desired, non-normalised first-order
field half-lives obtained under actual use conditions should be used.</p></dd>
-<dt>redox</dt>
+<dt id="arg-redox">redox<a class="anchor" aria-label="anchor" href="#arg-redox"></a></dt>
<dd><p>Aerobic or anaerobic degradation data</p></dd>
-<dt>sorption_value</dt>
+<dt id="arg-sorption-value">sorption_value<a class="anchor" aria-label="anchor" href="#arg-sorption-value"></a></dt>
<dd><p>Which of the available sorption values should be used?
Defaults to Kfoc as this is what is generally available from the European
pesticide peer review process. These values generally use a reference
@@ -128,27 +121,25 @@ concentration of 1 mg/L in porewater, that means they would be expected to
be Koc values at a concentration of 1 mg/L in the water phase.</p></dd>
-<dt>degradation_aggregator</dt>
+<dt id="arg-degradation-aggregator">degradation_aggregator<a class="anchor" aria-label="anchor" href="#arg-degradation-aggregator"></a></dt>
<dd><p>Function for aggregating half-lives</p></dd>
-<dt>sorption_aggregator</dt>
+<dt id="arg-sorption-aggregator">sorption_aggregator<a class="anchor" aria-label="anchor" href="#arg-sorption-aggregator"></a></dt>
<dd><p>Function for aggregation Koc values</p></dd>
-<dt>x</dt>
+<dt id="arg-x">x<a class="anchor" aria-label="anchor" href="#arg-x"></a></dt>
<dd><p>An object of class GUS_result to be printed</p></dd>
-<dt>digits</dt>
+<dt id="arg-digits">digits<a class="anchor" aria-label="anchor" href="#arg-digits"></a></dt>
<dd><p>The number of digits used in the print method</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>A list with the DT50 and Koc used as well as the resulting score
+ <p>A list with the DT50 and Koc used as well as the resulting score
of class GUS_result</p>
</div>
<div class="section level2">
@@ -162,23 +153,23 @@ toxicology and chemistry</em> <b>8</b>(4) 339–57.</p>
<p>Johannes Ranke</p>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/GUS.numeric.html b/docs/reference/GUS.numeric.html
new file mode 100644
index 0000000..15d3826
--- /dev/null
+++ b/docs/reference/GUS.numeric.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/GUS.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/GUS.html">
+ </head>
+</html>
+
diff --git a/docs/reference/PEC_soil.html b/docs/reference/PEC_soil.html
index 46c92f4..e86dd6d 100644
--- a/docs/reference/PEC_soil.html
+++ b/docs/reference/PEC_soil.html
@@ -1,51 +1,42 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="This is a basic calculation of a contaminant concentration in bulk soil
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate predicted environmental concentrations in soil — PEC_soil • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate predicted environmental concentrations in soil — PEC_soil"><meta name="description" content="This is a basic calculation of a contaminant concentration in bulk soil
based on complete, instantaneous mixing. If an interval is given, an
attempt is made at calculating a long term maximum concentration using
the concepts layed out in the PPR panel opinion (EFSA PPR panel 2012
-and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017)."><title>Calculate predicted environmental concentrations in soil — PEC_soil • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate predicted environmental concentrations in soil — PEC_soil"><meta property="og:description" content="This is a basic calculation of a contaminant concentration in bulk soil
+and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017)."><meta property="og:description" content="This is a basic calculation of a contaminant concentration in bulk soil
based on complete, instantaneous mixing. If an interval is given, an
attempt is made at calculating a long term maximum concentration using
the concepts layed out in the PPR panel opinion (EFSA PPR panel 2012
-and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017)."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017)."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate predicted environmental concentrations in soil</h1>
+
+ <h1>Calculate predicted environmental concentrations in soil</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_soil.R" class="external-link"><code>R/PEC_soil.R</code></a></small>
<div class="d-none name"><code>PEC_soil.Rd</code></div>
</div>
@@ -88,99 +79,101 @@ and in the EFSA guidance on PEC soil calculations (EFSA, 2015, 2017).</p>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>rate</dt>
+
+
+<dl><dt id="arg-rate">rate<a class="anchor" aria-label="anchor" href="#arg-rate"></a></dt>
<dd><p>Application rate in units specified below</p></dd>
-<dt>rate_units</dt>
+<dt id="arg-rate-units">rate_units<a class="anchor" aria-label="anchor" href="#arg-rate-units"></a></dt>
<dd><p>Defaults to g/ha</p></dd>
-<dt>interception</dt>
+<dt id="arg-interception">interception<a class="anchor" aria-label="anchor" href="#arg-interception"></a></dt>
<dd><p>The fraction of the application rate that does not reach the soil</p></dd>
-<dt>mixing_depth</dt>
+<dt id="arg-mixing-depth">mixing_depth<a class="anchor" aria-label="anchor" href="#arg-mixing-depth"></a></dt>
<dd><p>Mixing depth in cm</p></dd>
-<dt>PEC_units</dt>
+<dt id="arg-pec-units">PEC_units<a class="anchor" aria-label="anchor" href="#arg-pec-units"></a></dt>
<dd><p>Requested units for the calculated PEC. Only mg/kg currently supported</p></dd>
-<dt>PEC_pw_units</dt>
+<dt id="arg-pec-pw-units">PEC_pw_units<a class="anchor" aria-label="anchor" href="#arg-pec-pw-units"></a></dt>
<dd><p>Only mg/L currently supported</p></dd>
-<dt>interval</dt>
+<dt id="arg-interval">interval<a class="anchor" aria-label="anchor" href="#arg-interval"></a></dt>
<dd><p>Period of the deeper mixing. The default is NA, i.e. no
deeper mixing. For annual deeper mixing, set this to 365 when degradation
units are in days</p></dd>
-<dt>n_periods</dt>
+<dt id="arg-n-periods">n_periods<a class="anchor" aria-label="anchor" href="#arg-n-periods"></a></dt>
<dd><p>Number of periods to be considered for long term PEC calculations</p></dd>
-<dt>tillage_depth</dt>
+<dt id="arg-tillage-depth">tillage_depth<a class="anchor" aria-label="anchor" href="#arg-tillage-depth"></a></dt>
<dd><p>Periodic (see interval) deeper mixing in cm</p></dd>
-<dt>leaching_depth</dt>
+<dt id="arg-leaching-depth">leaching_depth<a class="anchor" aria-label="anchor" href="#arg-leaching-depth"></a></dt>
<dd><p>EFSA (2017) uses the mixing depth (ecotoxicological
evaluation depth) to calculate leaching for annual crops where tillage
takes place. By default, losses from the layer down to the tillage
depth are taken into account in this implementation.</p></dd>
-<dt>crop</dt>
+<dt id="arg-crop">crop<a class="anchor" aria-label="anchor" href="#arg-crop"></a></dt>
<dd><p>Ignored for scenarios other than EFSA_2017. Only annual crops
are supported when these scenarios are used. Only crops with a single cropping
cycle per year are currently supported.</p></dd>
-<dt>cultivation</dt>
+<dt id="arg-cultivation">cultivation<a class="anchor" aria-label="anchor" href="#arg-cultivation"></a></dt>
<dd><p>Does mechanical cultivation in the sense of EFSA (2017)
take place, i.e. twice a year to a depth of 5 cm? Ignored for scenarios
other than EFSA_2017</p></dd>
-<dt>chent</dt>
+<dt id="arg-chent">chent<a class="anchor" aria-label="anchor" href="#arg-chent"></a></dt>
<dd><p>An optional chent object holding substance specific information. Can
also be a name for the substance as a character string</p></dd>
-<dt>DT50</dt>
+<dt id="arg-dt-">DT50<a class="anchor" aria-label="anchor" href="#arg-dt-"></a></dt>
<dd><p>If specified, overrides soil DT50 endpoints from a chent object
If DT50 is not specified here and not available from the chent object, zero
degradation is assumed</p></dd>
-<dt>FOMC</dt>
+<dt id="arg-fomc">FOMC<a class="anchor" aria-label="anchor" href="#arg-fomc"></a></dt>
<dd><p>If specified, it should be a named numeric vector containing
the FOMC parameters alpha and beta. This overrides any other degradation
endpoints, and the degradation during the interval and after the maximum PEC
is calculated using these parameters without temperature correction</p></dd>
-<dt>Koc</dt>
+<dt id="arg-koc">Koc<a class="anchor" aria-label="anchor" href="#arg-koc"></a></dt>
<dd><p>If specified, overrides Koc endpoints from a chent object</p></dd>
-<dt>Kom</dt>
+<dt id="arg-kom">Kom<a class="anchor" aria-label="anchor" href="#arg-kom"></a></dt>
<dd><p>Calculated from Koc by default, but can explicitly be specified
as Kom here</p></dd>
-<dt>t_avg</dt>
+<dt id="arg-t-avg">t_avg<a class="anchor" aria-label="anchor" href="#arg-t-avg"></a></dt>
<dd><p>Averaging times for time weighted average concentrations</p></dd>
-<dt>t_act</dt>
+<dt id="arg-t-act">t_act<a class="anchor" aria-label="anchor" href="#arg-t-act"></a></dt>
<dd><p>Time series for actual concentrations</p></dd>
-<dt>scenarios</dt>
+<dt id="arg-scenarios">scenarios<a class="anchor" aria-label="anchor" href="#arg-scenarios"></a></dt>
<dd><p>If this is 'default', the DT50 will be used without correction
and soil properties as specified in the REACH guidance (R.16, Table
R.16-9) are used for porewater PEC calculations. If this is "EFSA_2015",
@@ -190,12 +183,12 @@ and corrected using an Arrhenius activation energy of 65.4 kJ/mol. Also
model and scenario adjustment factors from the EFSA guidance are used.</p></dd>
-<dt>leaching</dt>
+<dt id="arg-leaching">leaching<a class="anchor" aria-label="anchor" href="#arg-leaching"></a></dt>
<dd><p>Should leaching be taken into account? The default is FALSE,
except when the EFSA_2017 scenarios are used.</p></dd>
-<dt>porewater</dt>
+<dt id="arg-porewater">porewater<a class="anchor" aria-label="anchor" href="#arg-porewater"></a></dt>
<dd><p>Should equilibrium porewater concentrations be estimated
based on Kom and the organic carbon fraction of the soil instead of total
soil concentrations? Based on equation (7) given in the PPR panel opinion
@@ -205,9 +198,7 @@ p. 13).</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>The predicted concentration in soil</p>
+ <p>The predicted concentration in soil</p>
</div>
<div class="section level2">
<h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
@@ -305,23 +296,23 @@ doi:10.2903/j.efsa.2015.4093</p>
<span class="r-in"><span> Kom <span class="op">=</span> <span class="fl">100</span>, scenarios <span class="op">=</span> <span class="st">"EFSA_2015"</span>, porewater <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/PEC_sw_drainage_UK.html b/docs/reference/PEC_sw_drainage_UK.html
index 3996f9c..d8b885f 100644
--- a/docs/reference/PEC_sw_drainage_UK.html
+++ b/docs/reference/PEC_sw_drainage_UK.html
@@ -1,45 +1,36 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="This implements the method specified in the UK data requirements handbook and was checked against the spreadsheet
-published on the CRC website"><title>Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK"><meta property="og:description" content="This implements the method specified in the UK data requirements handbook and was checked against the spreadsheet
-published on the CRC website"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK"><meta name="description" content="This implements the method specified in the UK data requirements handbook and was checked against the spreadsheet
+published on the CRC website"><meta property="og:description" content="This implements the method specified in the UK data requirements handbook and was checked against the spreadsheet
+published on the CRC website"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method</h1>
+
+ <h1>Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_drainage_UK.R" class="external-link"><code>R/PEC_sw_drainage_UK.R</code></a></small>
<div class="d-none name"><code>PEC_sw_drainage_UK.Rd</code></div>
</div>
@@ -64,40 +55,40 @@ published on the CRC website</p>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>rate</dt>
+
+
+<dl><dt id="arg-rate">rate<a class="anchor" aria-label="anchor" href="#arg-rate"></a></dt>
<dd><p>Application rate in g/ha</p></dd>
-<dt>interception</dt>
+<dt id="arg-interception">interception<a class="anchor" aria-label="anchor" href="#arg-interception"></a></dt>
<dd><p>The fraction of the application rate that does not reach the soil</p></dd>
-<dt>Koc</dt>
+<dt id="arg-koc">Koc<a class="anchor" aria-label="anchor" href="#arg-koc"></a></dt>
<dd><p>The sorption coefficient normalised to organic carbon in L/kg</p></dd>
-<dt>latest_application</dt>
+<dt id="arg-latest-application">latest_application<a class="anchor" aria-label="anchor" href="#arg-latest-application"></a></dt>
<dd><p>Latest application date, formatted as e.g. "01 July"</p></dd>
-<dt>soil_DT50</dt>
+<dt id="arg-soil-dt-">soil_DT50<a class="anchor" aria-label="anchor" href="#arg-soil-dt-"></a></dt>
<dd><p>Soil degradation half-life, if SFO kinetics are to be used</p></dd>
-<dt>model</dt>
+<dt id="arg-model">model<a class="anchor" aria-label="anchor" href="#arg-model"></a></dt>
<dd><p>The soil degradation model to be used. Either one of "FOMC",
"DFOP", "HS", or "IORE", or an mkinmod object</p></dd>
-<dt>model_parms</dt>
+<dt id="arg-model-parms">model_parms<a class="anchor" aria-label="anchor" href="#arg-model-parms"></a></dt>
<dd><p>A named numeric vector containing the model parameters</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>The predicted concentration in surface water in µg/L</p>
+ <p>The predicted concentration in surface water in µg/L</p>
</div>
<div class="section level2">
<h2 id="references">References<a class="anchor" aria-label="anchor" href="#references"></a></h2>
@@ -120,23 +111,23 @@ accessed 2019-09-27</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 8.076923</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/PEC_sw_drift.html b/docs/reference/PEC_sw_drift.html
index 1fe8465..2bd66df 100644
--- a/docs/reference/PEC_sw_drift.html
+++ b/docs/reference/PEC_sw_drift.html
@@ -1,47 +1,38 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="This is a basic, vectorised form of a simple calculation of a contaminant
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift"><meta name="description" content="This is a basic, vectorised form of a simple calculation of a contaminant
concentration in surface water based on complete, instantaneous mixing
-with input via spray drift."><title>Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift"><meta property="og:description" content="This is a basic, vectorised form of a simple calculation of a contaminant
+with input via spray drift."><meta property="og:description" content="This is a basic, vectorised form of a simple calculation of a contaminant
concentration in surface water based on complete, instantaneous mixing
-with input via spray drift."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+with input via spray drift."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.2</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate predicted environmental concentrations in surface water due to drift</h1>
+
+ <h1>Calculate predicted environmental concentrations in surface water due to drift</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_drift.R" class="external-link"><code>R/PEC_sw_drift.R</code></a></small>
<div class="d-none name"><code>PEC_sw_drift.Rd</code></div>
</div>
@@ -57,16 +48,16 @@ with input via spray drift.</p>
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">PEC_sw_drift</span><span class="op">(</span></span>
<span> <span class="va">rate</span>,</span>
<span> applications <span class="op">=</span> <span class="fl">1</span>,</span>
-<span> water_depth <span class="op">=</span> <span class="fl">30</span>,</span>
+<span> water_depth <span class="op">=</span> <span class="fu">as_units</span><span class="op">(</span><span class="st">"30 cm"</span><span class="op">)</span>,</span>
<span> drift_percentages <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span> drift_data <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"JKI"</span>, <span class="st">"RF"</span><span class="op">)</span>,</span>
<span> crop_group_JKI <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"Ackerbau"</span>, <span class="st">"Obstbau frueh"</span>, <span class="st">"Obstbau spaet"</span>, <span class="st">"Weinbau frueh"</span>,</span>
<span> <span class="st">"Weinbau spaet"</span>, <span class="st">"Hopfenbau"</span>, <span class="st">"Flaechenkulturen &gt; 900 l/ha"</span>, <span class="st">"Gleisanlagen"</span><span class="op">)</span>,</span>
-<span> crop_group_focus <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"arable"</span>, <span class="st">"hops"</span>, <span class="st">"vines, late"</span>, <span class="st">"vines, early"</span>, <span class="st">"fruit, late"</span>,</span>
+<span> crop_group_RF <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"arable"</span>, <span class="st">"hops"</span>, <span class="st">"vines, late"</span>, <span class="st">"vines, early"</span>, <span class="st">"fruit, late"</span>,</span>
<span> <span class="st">"fruit, early"</span>, <span class="st">"aerial"</span><span class="op">)</span>,</span>
<span> distances <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">1</span>, <span class="fl">5</span>, <span class="fl">10</span>, <span class="fl">20</span><span class="op">)</span>,</span>
<span> formula <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"Rautmann"</span>, <span class="st">"FOCUS"</span><span class="op">)</span>,</span>
-<span> water_width <span class="op">=</span> <span class="fl">100</span>,</span>
+<span> water_width <span class="op">=</span> <span class="fu">as_units</span><span class="op">(</span><span class="st">"100 cm"</span><span class="op">)</span>,</span>
<span> side_angle <span class="op">=</span> <span class="fl">90</span>,</span>
<span> rate_units <span class="op">=</span> <span class="st">"g/ha"</span>,</span>
<span> PEC_units <span class="op">=</span> <span class="st">"µg/L"</span></span>
@@ -75,71 +66,78 @@ with input via spray drift.</p>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>rate</dt>
-<dd><p>Application rate in units specified below</p></dd>
-<dt>applications</dt>
+<dl><dt id="arg-rate">rate<a class="anchor" aria-label="anchor" href="#arg-rate"></a></dt>
+<dd><p>Application rate in units specified below, or with units defined via the
+<code>units</code> package.</p></dd>
+
+
+<dt id="arg-applications">applications<a class="anchor" aria-label="anchor" href="#arg-applications"></a></dt>
<dd><p>Number of applications for selection of drift percentile</p></dd>
-<dt>water_depth</dt>
+<dt id="arg-water-depth">water_depth<a class="anchor" aria-label="anchor" href="#arg-water-depth"></a></dt>
<dd><p>Depth of the water body in cm</p></dd>
-<dt>drift_percentages</dt>
+<dt id="arg-drift-percentages">drift_percentages<a class="anchor" aria-label="anchor" href="#arg-drift-percentages"></a></dt>
<dd><p>Percentage drift values for which to calculate PECsw.
Overrides 'drift_data' and 'distances' if not NULL.</p></dd>
-<dt>drift_data</dt>
+<dt id="arg-drift-data">drift_data<a class="anchor" aria-label="anchor" href="#arg-drift-data"></a></dt>
<dd><p>Source of drift percentage data. If 'JKI', the <a href="drift_data_JKI.html">drift_data_JKI</a>
included in the package is used. If 'RF', the Rautmann drift data are calculated
either in the original form or integrated over the width of the water body, depending
on the 'formula' argument.</p></dd>
-<dt>crop_group_JKI</dt>
+<dt id="arg-crop-group-jki">crop_group_JKI<a class="anchor" aria-label="anchor" href="#arg-crop-group-jki"></a></dt>
<dd><p>When using the 'JKI' drift data, one of the German names
-as used in <a href="drift_parameters_focus.html">drift_parameters_focus</a>.</p></dd>
+as used in <a href="drift_parameters_focus.html">drift_parameters_focus</a>. Will only be used if drift_data is 'JKI'.</p></dd>
-<dt>crop_group_focus</dt>
+<dt id="arg-crop-group-rf">crop_group_RF<a class="anchor" aria-label="anchor" href="#arg-crop-group-rf"></a></dt>
<dd><p>One of the crop groups as used in <a href="drift_parameters_focus.html">drift_parameters_focus</a></p></dd>
-<dt>distances</dt>
+<dt id="arg-distances">distances<a class="anchor" aria-label="anchor" href="#arg-distances"></a></dt>
<dd><p>The distances in m for which to get PEC values</p></dd>
-<dt>formula</dt>
+<dt id="arg-formula">formula<a class="anchor" aria-label="anchor" href="#arg-formula"></a></dt>
<dd><p>By default, the original Rautmann formula is used. If you
specify "FOCUS", mean drift input over the width of the water body is
calculated as described in Chapter 5.4.5 of the FOCUS surface water guidance</p></dd>
-<dt>water_width</dt>
+<dt id="arg-water-width">water_width<a class="anchor" aria-label="anchor" href="#arg-water-width"></a></dt>
<dd><p>Width of the water body in cm</p></dd>
-<dt>side_angle</dt>
+<dt id="arg-side-angle">side_angle<a class="anchor" aria-label="anchor" href="#arg-side-angle"></a></dt>
<dd><p>The angle of the side of the water relative to the bottom which
is assumed to be horizontal, in degrees. The SYNOPS model assumes 45 degrees here.</p></dd>
-<dt>rate_units</dt>
-<dd><p>Defaults to g/ha</p></dd>
+<dt id="arg-rate-units">rate_units<a class="anchor" aria-label="anchor" href="#arg-rate-units"></a></dt>
+<dd><p>Defaults to g/ha. For backwards compatibility, only used
+if the specified rate does not have <a href="https://r-quantities.github.io/units/reference/units.html" class="external-link">units::units</a>].</p></dd>
-<dt>PEC_units</dt>
+<dt id="arg-pec-units">PEC_units<a class="anchor" aria-label="anchor" href="#arg-pec-units"></a></dt>
<dd><p>Requested units for the calculated PEC. Only µg/L currently supported</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>The predicted concentration in surface water</p>
+ <p>The predicted concentration in surface water</p>
+ </div>
+ <div class="section level2">
+ <h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
+ <p>It is recommened to specify the arguments <code>rate</code>, <code>water_depth</code> and
+<code>water_width</code> using <a href="https://r-quantities.github.io/units/reference/units.html" class="external-link">units::units</a> from the <code>units</code> package.</p>
</div>
<div class="section level2">
<h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2>
@@ -153,24 +151,28 @@ is assumed to be horizontal, in degrees. The SYNOPS model assumes 45 degrees her
<div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 5 m 10 m 20 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.92333333 0.19000000 0.09666667 0.05000000 </span>
<span class="r-in"><span><span class="co"># Alternatively, we can use the formula for a single application to</span></span></span>
<span class="r-in"><span><span class="co"># "Ackerbau" from the paper</span></span></span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 5 m 10 m 20 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.91976667 0.19064473 0.09680051 0.04915079 </span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># This makes it possible to also use different distances</span></span></span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, distances <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">1</span>, <span class="fl">3</span>, <span class="fl">5</span>, <span class="fl">6</span>, <span class="fl">10</span>, <span class="fl">20</span>, <span class="fl">50</span>, <span class="fl">100</span><span class="op">)</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 3 m 5 m 6 m 10 m 20 m 50 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.91976667 0.31415827 0.19064473 0.15951494 0.09680051 0.04915079 0.02006434 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 100 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.01018774 </span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># or consider aerial application</span></span></span>
-<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, distances <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">1</span>, <span class="fl">3</span>, <span class="fl">5</span>, <span class="fl">6</span>, <span class="fl">10</span>, <span class="fl">20</span>, <span class="fl">50</span>, <span class="fl">100</span><span class="op">)</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span>, </span></span>
-<span class="r-in"><span> crop_group_focus <span class="op">=</span> <span class="st">"aerial"</span><span class="op">)</span></span></span>
+<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, distances <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">1</span>, <span class="fl">3</span>, <span class="fl">5</span>, <span class="fl">6</span>, <span class="fl">10</span>, <span class="fl">20</span>, <span class="fl">50</span>, <span class="fl">100</span><span class="op">)</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span>,</span></span>
+<span class="r-in"><span> crop_group_RF <span class="op">=</span> <span class="st">"aerial"</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 3 m 5 m 6 m 10 m 20 m 50 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 16.8233333 11.0585820 9.0986174 8.4866460 6.9825178 4.7004640 1.8820816 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 100 m </span>
@@ -178,47 +180,53 @@ is assumed to be horizontal, in degrees. The SYNOPS model assumes 45 degrees her
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Using custom drift percentages is also supported</span></span></span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, drift_percentages <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">2.77</span>, <span class="fl">0.95</span>, <span class="fl">0.57</span>, <span class="fl">0.48</span>, <span class="fl">0.29</span>, <span class="fl">0.15</span>, <span class="fl">0.06</span>, <span class="fl">0.03</span><span class="op">)</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 2.77 % 0.95 % 0.57 % 0.48 % 0.29 % 0.15 % 0.06 % </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.92333333 0.31666667 0.19000000 0.16000000 0.09666667 0.05000000 0.02000000 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.03 % </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.01000000 </span>
<span class="r-in"><span></span></span>
-<span class="r-in"><span><span class="co"># The influence of assuming a 45° angle of the sides of the waterbody and the width of the </span></span></span>
+<span class="r-in"><span><span class="co"># The influence of assuming a 45° angle of the sides of the waterbody and the width of the</span></span></span>
<span class="r-in"><span><span class="co"># waterbody can be illustrated</span></span></span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 5 m 10 m 20 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.92333333 0.19000000 0.09666667 0.05000000 </span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 5 m 10 m 20 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.91976667 0.19064473 0.09680051 0.04915079 </span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span>, formula <span class="op">=</span> <span class="st">"FOCUS"</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 5 m 10 m 20 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.64246407 0.17414541 0.09235842 0.04798749 </span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span>, formula <span class="op">=</span> <span class="st">"FOCUS"</span>, side_angle <span class="op">=</span> <span class="fl">45</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 5 m 10 m 20 m </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.91780582 0.24877916 0.13194060 0.06855356 </span>
<span class="r-in"><span><span class="fu">PEC_sw_drift</span><span class="op">(</span><span class="fl">100</span>, drift_data <span class="op">=</span> <span class="st">"RF"</span>, formula <span class="op">=</span> <span class="st">"FOCUS"</span>, side_angle <span class="op">=</span> <span class="fl">45</span>, water_width <span class="op">=</span> <span class="fl">200</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> Units: [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m 5 m 10 m 20 m </span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 0.30085000 0.09468652 0.05201349 0.02758547 </span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 0.60169999 0.18937304 0.10402698 0.05517095 </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/PEC_sw_exposit_drainage.html b/docs/reference/PEC_sw_exposit_drainage.html
index 5da26c6..a2dab7e 100644
--- a/docs/reference/PEC_sw_exposit_drainage.html
+++ b/docs/reference/PEC_sw_exposit_drainage.html
@@ -1,56 +1,47 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage"><meta name="description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
in the worksheet "Konzept Drainage". Although there are four groups of
compounds ("Gefährdungsgruppen"), only one distinction is made in the
calculations, between compounds with low mobility (group 1) and compounds
with modest to high mobility (groups 2, 3 and 4). In this implementation,
the group is derived only from the Koc, if not given explicitly. For
-details, see the discussion of the function arguments below.'><title>Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage"><meta property="og:description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
+details, see the discussion of the function arguments below.'><meta property="og:description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
in the worksheet "Konzept Drainage". Although there are four groups of
compounds ("Gefährdungsgruppen"), only one distinction is made in the
calculations, between compounds with low mobility (group 1) and compounds
with modest to high mobility (groups 2, 3 and 4). In this implementation,
the group is derived only from the Koc, if not given explicitly. For
-details, see the discussion of the function arguments below.'><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+details, see the discussion of the function arguments below.'></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate PEC surface water due to drainage as in Exposit 3</h1>
- <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit_runoff.R" class="external-link"><code>R/PEC_sw_exposit_runoff.R</code></a></small>
+
+ <h1>Calculate PEC surface water due to drainage as in Exposit 3</h1>
+ <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit.R" class="external-link"><code>R/PEC_sw_exposit.R</code></a></small>
<div class="d-none name"><code>PEC_sw_exposit_drainage.Rd</code></div>
</div>
@@ -86,57 +77,57 @@ details, see the discussion of the function arguments below.</p>
</div>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>rate</dt>
+
+
+<dl><dt id="arg-rate">rate<a class="anchor" aria-label="anchor" href="#arg-rate"></a></dt>
<dd><p>The application rate in g/ha</p></dd>
-<dt>interception</dt>
+<dt id="arg-interception">interception<a class="anchor" aria-label="anchor" href="#arg-interception"></a></dt>
<dd><p>The fraction intercepted by the crop</p></dd>
-<dt>Koc</dt>
+<dt id="arg-koc">Koc<a class="anchor" aria-label="anchor" href="#arg-koc"></a></dt>
<dd><p>The sorption coefficient to soil organic carbon used to determine the mobility. A trigger
value of 550 L/kg is used in order to decide if Koc &gt;&gt; 500.</p></dd>
-<dt>mobility</dt>
+<dt id="arg-mobility">mobility<a class="anchor" aria-label="anchor" href="#arg-mobility"></a></dt>
<dd><p>Overrides what is determined from the Koc.</p></dd>
-<dt>DT50</dt>
+<dt id="arg-dt-">DT50<a class="anchor" aria-label="anchor" href="#arg-dt-"></a></dt>
<dd><p>The soil half-life in days</p></dd>
-<dt>t_drainage</dt>
+<dt id="arg-t-drainage">t_drainage<a class="anchor" aria-label="anchor" href="#arg-t-drainage"></a></dt>
<dd><p>The time between application and the drainage event, where degradation occurs, in days</p></dd>
-<dt>V_ditch</dt>
+<dt id="arg-v-ditch">V_ditch<a class="anchor" aria-label="anchor" href="#arg-v-ditch"></a></dt>
<dd><p>The volume of the ditch is assumed to be 1 m * 100 m * 30 cm = 30 m3</p></dd>
-<dt>V_drainage</dt>
+<dt id="arg-v-drainage">V_drainage<a class="anchor" aria-label="anchor" href="#arg-v-drainage"></a></dt>
<dd><p>The drainage volume, equivalent to 1 mm precipitation on 1 ha for spring/summer or 10 mm for
autumn/winter/early spring.</p></dd>
-<dt>dilution</dt>
+<dt id="arg-dilution">dilution<a class="anchor" aria-label="anchor" href="#arg-dilution"></a></dt>
<dd><p>The dilution factor</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>A list containing the following components</p><dl><dt>perc_runoff</dt>
-<dd><p>The runoff percentages for dissolved and bound substance</p></dd>
+ <p>A list containing the following components</p><dl><dt>perc_drainage_total</dt>
+<dd><p>Gesamtaustrag (total fraction of the residue drained)</p></dd>
-<dt>runoff</dt>
-<dd><p>A matrix containing dissolved and bound input for the different distances</p></dd>
+<dt>perc_peak</dt>
+<dd><p>Stoßbelastung (fraction drained at event)</p></dd>
-<dt>PEC_sw_runoff</dt>
-<dd><p>A matrix 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.</p></dd>
+<dt>PEC_sw_drainage</dt>
+<dd><p>A matrix containing PEC values for the spring and autumn
+scenarios. If the rate was given in g/ha, the PECsw are in microg/L.</p></dd>
</dl></div>
@@ -162,23 +153,23 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/PEC_sw_exposit_runoff.html b/docs/reference/PEC_sw_exposit_runoff.html
index 21731f3..cd57c99 100644
--- a/docs/reference/PEC_sw_exposit_runoff.html
+++ b/docs/reference/PEC_sw_exposit_runoff.html
@@ -1,46 +1,37 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
-in the worksheet "Konzept Runoff".'><title>Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff"><meta property="og:description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
-in the worksheet "Konzept Runoff".'><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff"><meta name="description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
+in the worksheet "Konzept Runoff".'><meta property="og:description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
+in the worksheet "Konzept Runoff".'></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate PEC surface water due to runoff and erosion as in Exposit 3</h1>
- <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit_runoff.R" class="external-link"><code>R/PEC_sw_exposit_runoff.R</code></a></small>
+
+ <h1>Calculate PEC surface water due to runoff and erosion as in Exposit 3</h1>
+ <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit.R" class="external-link"><code>R/PEC_sw_exposit.R</code></a></small>
<div class="d-none name"><code>PEC_sw_exposit_runoff.Rd</code></div>
</div>
@@ -55,11 +46,11 @@ in the worksheet "Konzept Runoff".</p>
<span> <span class="va">rate</span>,</span>
<span> interception <span class="op">=</span> <span class="fl">0</span>,</span>
<span> <span class="va">Koc</span>,</span>
-<span> DT50 <span class="op">=</span> <span class="cn">Inf</span>,</span>
-<span> t_runoff <span class="op">=</span> <span class="fl">3</span>,</span>
+<span> DT50 <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="cn">Inf</span>, <span class="st">"d"</span><span class="op">)</span>,</span>
+<span> t_runoff <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">3</span>, <span class="st">"days"</span><span class="op">)</span>,</span>
<span> exposit_reduction_version <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"3.02"</span>, <span class="st">"3.01a"</span>, <span class="st">"3.01a2"</span>, <span class="st">"2.0"</span><span class="op">)</span>,</span>
-<span> V_ditch <span class="op">=</span> <span class="fl">30</span>,</span>
-<span> V_event <span class="op">=</span> <span class="fl">100</span>,</span>
+<span> V_ditch <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">30</span>, <span class="st">"m3"</span><span class="op">)</span>,</span>
+<span> V_event <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">100</span>, <span class="st">"m3"</span><span class="op">)</span>,</span>
<span> dilution <span class="op">=</span> <span class="fl">2</span></span>
<span><span class="op">)</span></span></code></pre></div>
</div>
@@ -71,27 +62,29 @@ in the worksheet "Konzept Runoff".</p>
</div>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>rate</dt>
+
+
+<dl><dt id="arg-rate">rate<a class="anchor" aria-label="anchor" href="#arg-rate"></a></dt>
<dd><p>The application rate in g/ha</p></dd>
-<dt>interception</dt>
+<dt id="arg-interception">interception<a class="anchor" aria-label="anchor" href="#arg-interception"></a></dt>
<dd><p>The fraction intercepted by the crop</p></dd>
-<dt>Koc</dt>
+<dt id="arg-koc">Koc<a class="anchor" aria-label="anchor" href="#arg-koc"></a></dt>
<dd><p>The sorption coefficient to soil organic carbon</p></dd>
-<dt>DT50</dt>
+<dt id="arg-dt-">DT50<a class="anchor" aria-label="anchor" href="#arg-dt-"></a></dt>
<dd><p>The soil half-life in days</p></dd>
-<dt>t_runoff</dt>
+<dt id="arg-t-runoff">t_runoff<a class="anchor" aria-label="anchor" href="#arg-t-runoff"></a></dt>
<dd><p>The time between application and the runoff event, where degradation occurs, in days</p></dd>
-<dt>exposit_reduction_version</dt>
+<dt id="arg-exposit-reduction-version">exposit_reduction_version<a class="anchor" aria-label="anchor" href="#arg-exposit-reduction-version"></a></dt>
<dd><p>The version of the reduction factors to be used. "3.02" is the current
version used in Germany, "3.01a" is the version with additional percentages for 3 m and 6 m buffer
zones used in Switzerland. "3.01a2" is a version introduced for consistency with previous calculations
@@ -99,23 +92,21 @@ performed for a 3 m buffer zone in Switzerland, with the same reduction being ap
and the bound fraction.</p></dd>
-<dt>V_ditch</dt>
+<dt id="arg-v-ditch">V_ditch<a class="anchor" aria-label="anchor" href="#arg-v-ditch"></a></dt>
<dd><p>The volume of the ditch is assumed to be 1 m * 100 m * 30 cm = 30 m3</p></dd>
-<dt>V_event</dt>
+<dt id="arg-v-event">V_event<a class="anchor" aria-label="anchor" href="#arg-v-event"></a></dt>
<dd><p>The unreduced runoff volume, equivalent to 10 mm precipitation on 1 ha</p></dd>
-<dt>dilution</dt>
+<dt id="arg-dilution">dilution<a class="anchor" aria-label="anchor" href="#arg-dilution"></a></dt>
<dd><p>The dilution factor</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>A list containing the following components</p><dl><dt>perc_runoff</dt>
+ <p>A list containing the following components</p><dl><dt>perc_runoff</dt>
<dd><p>The runoff percentages for dissolved and bound substance</p></dd>
<dt>runoff</dt>
@@ -128,6 +119,11 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic
</dl></div>
<div class="section level2">
+ <h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
+ <p>It is recommened to specify the arguments <code>rate</code>, <code>Koc</code>, <code>DT50</code>, <code>t_runoff</code>, <code>V_ditch</code> and <code>V_event</code>
+using <a href="https://r-quantities.github.io/units/reference/units.html" class="external-link">units::units</a> from the <code>units</code> package.</p>
+ </div>
+ <div class="section level2">
<h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2>
<div class="dont-index"><p><code><a href="perc_runoff_exposit.html">perc_runoff_exposit</a></code> for runoff loss percentages and <code><a href="perc_runoff_reduction_exposit.html">perc_runoff_reduction_exposit</a></code> for runoff reduction percentages used</p></div>
</div>
@@ -140,18 +136,18 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.248 0.001 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $runoff</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 1.240 0.00500 1.24500</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 0.744 0.00300 0.74700</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 0.496 0.00075 0.49675</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 0.248 0.00025 0.24825</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 1.240 [g] 0.00500 [g] 1.24500 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 0.744 [g] 0.00300 [g] 0.74700 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 0.496 [g] 0.00075 [g] 0.49675 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 0.248 [g] 0.00025 [g] 0.24825 [g]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $PEC_sw_runoff</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 4.769231 0.019230769 4.788462</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 4.133333 0.016666667 4.150000</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 3.542857 0.005357143 3.548214</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 2.480000 0.002500000 2.482500</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 4.769231 [µg/L] 0.019230769 [µg/L] 4.788462 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 4.133333 [µg/L] 0.016666667 [µg/L] 4.150000 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 3.542857 [µg/L] 0.005357143 [µg/L] 3.548214 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 2.480000 [µg/L] 0.002500000 [µg/L] 2.482500 [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-in"><span> <span class="fu">PEC_sw_exposit_runoff</span><span class="op">(</span><span class="fl">600</span>, Koc <span class="op">=</span> <span class="fl">10000</span>, DT50 <span class="op">=</span> <span class="fl">195</span>, exposit <span class="op">=</span> <span class="st">"3.01a"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $perc_runoff</span>
@@ -159,42 +155,42 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic
<span class="r-out co"><span class="r-pr">#&gt;</span> 0.037 0.159 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $runoff</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 0.21964521 0.94388078 1.16352600</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 3 m 0.16473391 0.66071655 0.82545046</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 0.13178713 0.56632847 0.69811560</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 6 m 0.12080487 0.42474635 0.54555122</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 0.08785809 0.14158212 0.22944020</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 0.04392904 0.04719404 0.09112308</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 0.21964521 [g] 0.94388078 [g] 1.16352600 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 3 m 0.16473391 [g] 0.66071655 [g] 0.82545046 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 0.13178713 [g] 0.56632847 [g] 0.69811560 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 6 m 0.12080487 [g] 0.42474635 [g] 0.54555122 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 0.08785809 [g] 0.14158212 [g] 0.22944020 [g]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 0.04392904 [g] 0.04719404 [g] 0.09112308 [g]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $PEC_sw_runoff</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 0.8447893 3.6303107 4.4751000</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 3 m 0.7844472 3.1462693 3.9307165</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 0.7321507 3.1462693 3.8784200</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 6 m 0.7106169 2.4985080 3.2091248</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 0.6275578 1.0113008 1.6388586</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 0.4392904 0.4719404 0.9112308</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> dissolved bound total</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> No buffer 0.8447893 [µg/L] 3.6303107 [µg/L] 4.4751000 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 3 m 0.7844472 [µg/L] 3.1462693 [µg/L] 3.9307165 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 5 m 0.7321507 [µg/L] 3.1462693 [µg/L] 3.8784200 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 6 m 0.7106169 [µg/L] 2.4985080 [µg/L] 3.2091248 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 10 m 0.6275578 [µg/L] 1.0113008 [µg/L] 1.6388586 [µg/L]</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 20 m 0.4392904 [µg/L] 0.4719404 [µg/L] 0.9112308 [µg/L]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/PEC_sw_focus.html b/docs/reference/PEC_sw_focus.html
index d9d06de..d91d957 100644
--- a/docs/reference/PEC_sw_focus.html
+++ b/docs/reference/PEC_sw_focus.html
@@ -1,55 +1,46 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="This is a reimplementation of the FOCUS Step 1 and 2 calculator version 3.2,
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus"><meta name="description" content="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
single application. At current, this is not done automatically in
this implementation. Only Step 1 PECs are calculated. However,
input files can be generated that are suitable as input for
-the FOCUS calculator."><title>Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus"><meta property="og:description" content="This is a reimplementation of the FOCUS Step 1 and 2 calculator version 3.2,
+the FOCUS calculator."><meta property="og:description" content="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
single application. At current, this is not done automatically in
this implementation. Only Step 1 PECs are calculated. However,
input files can be generated that are suitable as input for
-the FOCUS calculator."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+the FOCUS calculator."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate PEC surface water at FOCUS Step 1</h1>
+
+ <h1>Calculate PEC surface water at FOCUS Step 1</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_focus.R" class="external-link"><code>R/PEC_sw_focus.R</code></a></small>
<div class="d-none name"><code>PEC_sw_focus.Rd</code></div>
</div>
@@ -89,85 +80,87 @@ the FOCUS calculator.</p>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>parent</dt>
+
+
+<dl><dt id="arg-parent">parent<a class="anchor" aria-label="anchor" href="#arg-parent"></a></dt>
<dd><p>A list containing substance specific parameters, e.g.
conveniently generated by <a href="chent_focus_sw.html">chent_focus_sw</a>.</p></dd>
-<dt>rate</dt>
+<dt id="arg-rate">rate<a class="anchor" aria-label="anchor" href="#arg-rate"></a></dt>
<dd><p>The application rate in g/ha. Overriden when
applications are given explicitly</p></dd>
-<dt>n</dt>
+<dt id="arg-n">n<a class="anchor" aria-label="anchor" href="#arg-n"></a></dt>
<dd><p>The number of applications</p></dd>
-<dt>i</dt>
+<dt id="arg-i">i<a class="anchor" aria-label="anchor" href="#arg-i"></a></dt>
<dd><p>The application interval</p></dd>
-<dt>comment</dt>
+<dt id="arg-comment">comment<a class="anchor" aria-label="anchor" href="#arg-comment"></a></dt>
<dd><p>A comment for the input file</p></dd>
-<dt>met</dt>
+<dt id="arg-met">met<a class="anchor" aria-label="anchor" href="#arg-met"></a></dt>
<dd><p>A list containing metabolite specific parameters. e.g.
conveniently generated by <a href="chent_focus_sw.html">chent_focus_sw</a>. If not NULL,
the PEC is calculated for this compound, not the parent.</p></dd>
-<dt>f_drift</dt>
+<dt id="arg-f-drift">f_drift<a class="anchor" aria-label="anchor" href="#arg-f-drift"></a></dt>
<dd><p>The fraction of the application rate reaching the waterbody
via drift. If NA, this is derived from the scenario name and the number
of applications via the drift data defined by the
<a href="FOCUS_Step_12_scenarios.html">FOCUS_Step_12_scenarios</a></p></dd>
-<dt>f_rd</dt>
+<dt id="arg-f-rd">f_rd<a class="anchor" aria-label="anchor" href="#arg-f-rd"></a></dt>
<dd><p>The fraction of the amount applied reaching the waterbody via
runoff/drainage. At Step 1, it is assumed to be 10%, be it the
parent or a metabolite</p></dd>
-<dt>scenario</dt>
+<dt id="arg-scenario">scenario<a class="anchor" aria-label="anchor" href="#arg-scenario"></a></dt>
<dd><p>The name of the scenario. Must be one of the scenario
names given in <a href="FOCUS_Step_12_scenarios.html">FOCUS_Step_12_scenarios</a></p></dd>
-<dt>region</dt>
+<dt id="arg-region">region<a class="anchor" aria-label="anchor" href="#arg-region"></a></dt>
<dd><p>'n' for Northern Europe or 's' for Southern Europe. If NA, only
Step 1 PECsw are calculated</p></dd>
-<dt>season</dt>
+<dt id="arg-season">season<a class="anchor" aria-label="anchor" href="#arg-season"></a></dt>
<dd><p>'of' for October to February, 'mm' for March to May, and 'js'
for June to September. If NA, only step 1 PECsw are calculated</p></dd>
-<dt>interception</dt>
+<dt id="arg-interception">interception<a class="anchor" aria-label="anchor" href="#arg-interception"></a></dt>
<dd><p>One of 'no interception' (default), 'minimal crop cover',
'average crop cover' or 'full canopy'</p></dd>
-<dt>met_form_water</dt>
+<dt id="arg-met-form-water">met_form_water<a class="anchor" aria-label="anchor" href="#arg-met-form-water"></a></dt>
<dd><p>Should the metabolite formation in water be taken into
account? This can be switched off to check the influence and to compare
with previous versions of the Steps 12 calculator</p></dd>
-<dt>txt_file</dt>
+<dt id="arg-txt-file">txt_file<a class="anchor" aria-label="anchor" href="#arg-txt-file"></a></dt>
<dd><p>the name, and potentially the full path to the
Steps.12 input text file to which the specification of the run(s)
should be written</p></dd>
-<dt>overwrite</dt>
+<dt id="arg-overwrite">overwrite<a class="anchor" aria-label="anchor" href="#arg-overwrite"></a></dt>
<dd><p>Should an existing file a the location specified in
<code>txt_file</code> be overwritten? Only takes effect if append is FALSE.</p></dd>
-<dt>append</dt>
+<dt id="arg-append">append<a class="anchor" aria-label="anchor" href="#arg-append"></a></dt>
<dd><p>Should the input text file be appended, if it exists?</p></dd>
</dl></div>
@@ -294,23 +287,23 @@ http://esdac.jrc.ec.europa.eu/projects/stepsonetwo</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/PEC_sw_sed.html b/docs/reference/PEC_sw_sed.html
index c4b0fd8..6d377c9 100644
--- a/docs/reference/PEC_sw_sed.html
+++ b/docs/reference/PEC_sw_sed.html
@@ -1,48 +1,36 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="The method 'percentage' is equivalent to what is used in the CRD spreadsheet
-PEC calculator"><title>Calculate predicted environmental concentrations in sediment from surface
-water concentrations — PEC_sw_sed • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate predicted environmental concentrations in sediment from surface
-water concentrations — PEC_sw_sed"><meta property="og:description" content="The method 'percentage' is equivalent to what is used in the CRD spreadsheet
-PEC calculator"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed"><meta name="description" content="The method 'percentage' is equivalent to what is used in the CRD spreadsheet
+PEC calculator"><meta property="og:description" content="The method 'percentage' is equivalent to what is used in the CRD spreadsheet
+PEC calculator"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate predicted environmental concentrations in sediment from surface
-water concentrations</h1>
+
+ <h1>Calculate predicted environmental concentrations in sediment from surface water concentrations</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_sed.R" class="external-link"><code>R/PEC_sw_sed.R</code></a></small>
<div class="d-none name"><code>PEC_sw_sed.Rd</code></div>
</div>
@@ -58,50 +46,50 @@ PEC calculator</p>
<span> <span class="va">PEC_sw</span>,</span>
<span> percentage <span class="op">=</span> <span class="fl">100</span>,</span>
<span> method <span class="op">=</span> <span class="st">"percentage"</span>,</span>
-<span> sediment_depth <span class="op">=</span> <span class="fl">5</span>,</span>
-<span> water_depth <span class="op">=</span> <span class="fl">30</span>,</span>
-<span> sediment_density <span class="op">=</span> <span class="fl">1.3</span>,</span>
+<span> sediment_depth <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">5</span>, <span class="st">"cm"</span><span class="op">)</span>,</span>
+<span> water_depth <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">30</span>, <span class="st">"cm"</span><span class="op">)</span>,</span>
+<span> sediment_density <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">1.3</span>, <span class="st">"kg/L"</span><span class="op">)</span>,</span>
<span> PEC_sed_units <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"µg/kg"</span>, <span class="st">"mg/kg"</span><span class="op">)</span></span>
<span><span class="op">)</span></span></code></pre></div>
</div>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>PEC_sw</dt>
+
+
+<dl><dt id="arg-pec-sw">PEC_sw<a class="anchor" aria-label="anchor" href="#arg-pec-sw"></a></dt>
<dd><p>Numeric vector or matrix of surface water concentrations in µg/L for
which the corresponding sediment concentration is to be estimated</p></dd>
-<dt>percentage</dt>
+<dt id="arg-percentage">percentage<a class="anchor" aria-label="anchor" href="#arg-percentage"></a></dt>
<dd><p>The percentage in sediment, used for the percentage method</p></dd>
-<dt>method</dt>
+<dt id="arg-method">method<a class="anchor" aria-label="anchor" href="#arg-method"></a></dt>
<dd><p>The method used for the calculation</p></dd>
-<dt>sediment_depth</dt>
+<dt id="arg-sediment-depth">sediment_depth<a class="anchor" aria-label="anchor" href="#arg-sediment-depth"></a></dt>
<dd><p>Depth of the sediment layer</p></dd>
-<dt>water_depth</dt>
+<dt id="arg-water-depth">water_depth<a class="anchor" aria-label="anchor" href="#arg-water-depth"></a></dt>
<dd><p>Depth of the water body in cm</p></dd>
-<dt>sediment_density</dt>
-<dd><p>The density of the sediment in L/kg (equivalent to
+<dt id="arg-sediment-density">sediment_density<a class="anchor" aria-label="anchor" href="#arg-sediment-density"></a></dt>
+<dd><p>The density of the sediment in kg/L (equivalent to
g/cm3)</p></dd>
-<dt>PEC_sed_units</dt>
+<dt id="arg-pec-sed-units">PEC_sed_units<a class="anchor" aria-label="anchor" href="#arg-pec-sed-units"></a></dt>
<dd><p>The units of the estimated sediment PEC value</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>The predicted concentration in sediment</p>
+ <p>The predicted concentration in sediment</p>
</div>
<div class="section level2">
<h2 id="author">Author<a class="anchor" aria-label="anchor" href="#author"></a></h2>
@@ -110,28 +98,30 @@ g/cm3)</p></dd>
<div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
- <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">PEC_sw_sed</span><span class="op">(</span><span class="fu"><a href="PEC_sw_drift.html">PEC_sw_drift</a></span><span class="op">(</span><span class="fl">100</span>, distances <span class="op">=</span> <span class="fl">1</span><span class="op">)</span>, percentage <span class="op">=</span> <span class="fl">50</span><span class="op">)</span></span></span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 1 m </span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 2.130769 </span>
+ <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://pkgdown.jrwb.de/pfm">pfm</a></span><span class="op">)</span></span></span>
+<span class="r-in"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://r-quantities.github.io/units/" class="external-link">units</a></span><span class="op">)</span></span></span>
+<span class="r-msg co"><span class="r-pr">#&gt;</span> udunits database from /usr/share/xml/udunits/udunits2.xml</span>
+<span class="r-in"><span><span class="fu">PEC_sw_sed</span><span class="op">(</span><span class="fu"><a href="PEC_sw_drift.html">PEC_sw_drift</a></span><span class="op">(</span><span class="fl">100</span>, distances <span class="op">=</span> <span class="fl">1</span><span class="op">)</span>, percentage <span class="op">=</span> <span class="fl">50</span><span class="op">)</span></span></span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 2.130769 [µg/kg]</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/SFO_actual_twa.html b/docs/reference/SFO_actual_twa.html
index 6dc6862..186b9f3 100644
--- a/docs/reference/SFO_actual_twa.html
+++ b/docs/reference/SFO_actual_twa.html
@@ -1,43 +1,34 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Actual and maximum moving window time average concentrations for SFO kinetics"><title>Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa"><meta property="og:description" content="Actual and maximum moving window time average concentrations for SFO kinetics"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa"><meta name="description" content="Actual and maximum moving window time average concentrations for SFO kinetics"><meta property="og:description" content="Actual and maximum moving window time average concentrations for SFO kinetics"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Actual and maximum moving window time average concentrations for SFO kinetics</h1>
+
+ <h1>Actual and maximum moving window time average concentrations for SFO kinetics</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/SFO_actual_twa.R" class="external-link"><code>R/SFO_actual_twa.R</code></a></small>
<div class="d-none name"><code>SFO_actual_twa.Rd</code></div>
</div>
@@ -59,11 +50,13 @@ Kinetics from Environmental Fate Studies on Pesticides in EU Registration, Versi
</div>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>DT50</dt>
+
+
+<dl><dt id="arg-dt-">DT50<a class="anchor" aria-label="anchor" href="#arg-dt-"></a></dt>
<dd><p>The half-life.</p></dd>
-<dt>times</dt>
+<dt id="arg-times">times<a class="anchor" aria-label="anchor" href="#arg-times"></a></dt>
<dd><p>The output times, and window sizes for time weighted average concentrations</p></dd>
</dl></div>
@@ -89,23 +82,23 @@ Kinetics from Environmental Fate Studies on Pesticides in EU Registration, Versi
<span class="r-out co"><span class="r-pr">#&gt;</span> 100 0.0009765625 0.1441286</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/SSLRC_mobility_classification.html b/docs/reference/SSLRC_mobility_classification.html
index 1874128..3463b3c 100644
--- a/docs/reference/SSLRC_mobility_classification.html
+++ b/docs/reference/SSLRC_mobility_classification.html
@@ -1,45 +1,36 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="This implements the method specified in the UK data requirements handbook and was
-checked against the spreadsheet published on the CRD website"><title>Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification"><meta property="og:description" content="This implements the method specified in the UK data requirements handbook and was
-checked against the spreadsheet published on the CRD website"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification"><meta name="description" content="This implements the method specified in the UK data requirements handbook and was
+checked against the spreadsheet published on the CRD website"><meta property="og:description" content="This implements the method specified in the UK data requirements handbook and was
+checked against the spreadsheet published on the CRD website"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Determine the SSLRC mobility classification for a chemical substance from its Koc</h1>
+
+ <h1>Determine the SSLRC mobility classification for a chemical substance from its Koc</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/SSLRC_mobility_classification.R" class="external-link"><code>R/SSLRC_mobility_classification.R</code></a></small>
<div class="d-none name"><code>SSLRC_mobility_classification.Rd</code></div>
</div>
@@ -56,15 +47,15 @@ checked against the spreadsheet published on the CRD website</p>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>Koc</dt>
+
+
+<dl><dt id="arg-koc">Koc<a class="anchor" aria-label="anchor" href="#arg-koc"></a></dt>
<dd><p>The sorption coefficient normalised to organic carbon in L/kg</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>A list containing the classification and the percentage of the
+ <p>A list containing the classification and the percentage of the
compound transported per 10 mm drain water</p>
</div>
<div class="section level2">
@@ -100,23 +91,23 @@ accessed 2019-09-27</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/TOXSWA_cwa.html b/docs/reference/TOXSWA_cwa.html
index 281315a..f620349 100644
--- a/docs/reference/TOXSWA_cwa.html
+++ b/docs/reference/TOXSWA_cwa.html
@@ -1,51 +1,42 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="An R6 class for holding TOXSWA water concentration (cwa) data
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa"><meta name="description" content="An R6 class for holding TOXSWA water concentration (cwa) data
and some associated statistics. like maximum moving window average
concentrations, and dataframes holding the events exceeding specified
thresholds. Usually, an instance of this class will be generated
-by read.TOXSWA_cwa."><title>R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa"><meta property="og:description" content="An R6 class for holding TOXSWA water concentration (cwa) data
+by read.TOXSWA_cwa."><meta property="og:description" content="An R6 class for holding TOXSWA water concentration (cwa) data
and some associated statistics. like maximum moving window average
concentrations, and dataframes holding the events exceeding specified
thresholds. Usually, an instance of this class will be generated
-by read.TOXSWA_cwa."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+by read.TOXSWA_cwa."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>R6 class for holding TOXSWA water concentration data and associated statistics</h1>
+
+ <h1>R6 class for holding TOXSWA water concentration data and associated statistics</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/TOXSWA_cwa.R" class="external-link"><code>R/TOXSWA_cwa.R</code></a></small>
<div class="d-none name"><code>TOXSWA_cwa.Rd</code></div>
</div>
@@ -61,7 +52,7 @@ by <code><a href="read.TOXSWA_cwa.html">read.TOXSWA_cwa</a></code>.</p>
<div class="section level2">
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
- <p>An <code>R6Class</code> generator object.</p>
+ <p>An <code><a href="https://r6.r-lib.org/reference/R6Class.html" class="external-link">R6Class</a></code> generator object.</p>
</div>
<div class="section level2">
<h2 id="public-fields">Public fields<a class="anchor" aria-label="anchor" href="#public-fields"></a></h2>
@@ -103,7 +94,7 @@ for the requested moving window sizes in days.</p></dd>
</div>
<div class="section level2">
<h2 id="methods">Methods<a class="anchor" aria-label="anchor" href="#methods"></a></h2>
-
+
<div class="section">
<h3 id="public-methods">Public methods<a class="anchor" aria-label="anchor" href="#public-methods"></a></h3>
@@ -264,23 +255,23 @@ suspended matter will be used.</p></dd>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 55.083 40.58401 0.459 55.083 379.433 15.80971</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/TSCF.html b/docs/reference/TSCF.html
index 8391cb4..f611a53 100644
--- a/docs/reference/TSCF.html
+++ b/docs/reference/TSCF.html
@@ -1,53 +1,44 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="The FOCUS groundwater guidance (FOCUS 2014, p. 41) states that a reliable measured
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Estimation of the transpiration stream concentration factor — TSCF • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Estimation of the transpiration stream concentration factor — TSCF"><meta name="description" content="The FOCUS groundwater guidance (FOCUS 2014, p. 41) states that a reliable measured
log Kow for neutral pH must be available in order to apply the Briggs
equation. It is not clarified when it can be regarded reliable, but the
equation is stated to be produced for non-ionic compounds, suggesting that
the compound should not be ionogenic (weak acid/base)
-or ionic."><title>Estimation of the transpiration stream concentration factor — TSCF • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Estimation of the transpiration stream concentration factor — TSCF"><meta property="og:description" content="The FOCUS groundwater guidance (FOCUS 2014, p. 41) states that a reliable measured
+or ionic."><meta property="og:description" content="The FOCUS groundwater guidance (FOCUS 2014, p. 41) states that a reliable measured
log Kow for neutral pH must be available in order to apply the Briggs
equation. It is not clarified when it can be regarded reliable, but the
equation is stated to be produced for non-ionic compounds, suggesting that
the compound should not be ionogenic (weak acid/base)
-or ionic."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+or ionic."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Estimation of the transpiration stream concentration factor</h1>
+
+ <h1>Estimation of the transpiration stream concentration factor</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/TSCF.R" class="external-link"><code>R/TSCF.R</code></a></small>
<div class="d-none name"><code>TSCF.Rd</code></div>
</div>
@@ -68,11 +59,13 @@ or ionic.</p>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>log_Kow</dt>
+
+
+<dl><dt id="arg-log-kow">log_Kow<a class="anchor" aria-label="anchor" href="#arg-log-kow"></a></dt>
<dd><p>The decadic logarithm of the octanol-water partition constant</p></dd>
-<dt>method</dt>
+<dt id="arg-method">method<a class="anchor" aria-label="anchor" href="#arg-method"></a></dt>
<dd><p>Short name of the estimation method.</p></dd>
</dl></div>
@@ -98,23 +91,23 @@ by plant roots. Environ. Sci. Technol 43, 324 - 329</p>
<span class="r-plt img"><img src="TSCF-1.png" alt="" width="700" height="433"></span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/drift_data_JKI.html b/docs/reference/drift_data_JKI.html
index 5d9c11e..064264f 100644
--- a/docs/reference/drift_data_JKI.html
+++ b/docs/reference/drift_data_JKI.html
@@ -1,48 +1,36 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Deposition from spray drift expressed as percent of the applied dose as
-published by the German Julius-Kühn Institute (JKI)."><title>Deposition from spray drift expressed as percent of the applied dose as
-published by the JKI — drift_data_JKI • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Deposition from spray drift expressed as percent of the applied dose as
-published by the JKI — drift_data_JKI"><meta property="og:description" content="Deposition from spray drift expressed as percent of the applied dose as
-published by the German Julius-Kühn Institute (JKI)."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI"><meta name="description" content="Deposition from spray drift expressed as percent of the applied dose as
+published by the German Julius-Kühn Institute (JKI)."><meta property="og:description" content="Deposition from spray drift expressed as percent of the applied dose as
+published by the German Julius-Kühn Institute (JKI)."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Deposition from spray drift expressed as percent of the applied dose as
-published by the JKI</h1>
+
+ <h1>Deposition from spray drift expressed as percent of the applied dose as published by the JKI</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/drift_data_JKI.R" class="external-link"><code>R/drift_data_JKI.R</code></a></small>
<div class="d-none name"><code>drift_data_JKI.Rd</code></div>
</div>
@@ -288,23 +276,23 @@ included.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/drift_parameters_focus.html b/docs/reference/drift_parameters_focus.html
index 3f54160..6d3f679 100644
--- a/docs/reference/drift_parameters_focus.html
+++ b/docs/reference/drift_parameters_focus.html
@@ -1,49 +1,40 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="The parameters were extracted from Appendix B to the FOCUS surface water guidance
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Regression parameters for the Rautmann drift data — drift_parameters_focus • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Regression parameters for the Rautmann drift data — drift_parameters_focus"><meta name="description" content="The parameters were extracted from Appendix B to the FOCUS surface water guidance
using the R code given in the file data_generation/drift_parameters_focus.R
installed with this package. The appendix itself is not included in the package,
-as its licence is not clear."><title>Regression parameters for the Rautmann drift data — drift_parameters_focus • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Regression parameters for the Rautmann drift data — drift_parameters_focus"><meta property="og:description" content="The parameters were extracted from Appendix B to the FOCUS surface water guidance
+as its licence is not clear."><meta property="og:description" content="The parameters were extracted from Appendix B to the FOCUS surface water guidance
using the R code given in the file data_generation/drift_parameters_focus.R
installed with this package. The appendix itself is not included in the package,
-as its licence is not clear."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+as its licence is not clear."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Regression parameters for the Rautmann drift data</h1>
+
+ <h1>Regression parameters for the Rautmann drift data</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/drift_parameters_focus.R" class="external-link"><code>R/drift_parameters_focus.R</code></a></small>
<div class="d-none name"><code>drift_parameters_focus.Rd</code></div>
</div>
@@ -111,23 +102,23 @@ Bundesanst. Land- Forstwirtsch. 383, 133-141</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> [6] "fruit, early" "aerial" </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/drift_percentages_rautmann.html b/docs/reference/drift_percentages_rautmann.html
index ae5ca03..bee0e60 100644
--- a/docs/reference/drift_percentages_rautmann.html
+++ b/docs/reference/drift_percentages_rautmann.html
@@ -1,43 +1,34 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Calculate drift percentages based on Rautmann data"><title>Calculate drift percentages based on Rautmann data — drift_percentages_rautmann • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate drift percentages based on Rautmann data — drift_percentages_rautmann"><meta property="og:description" content="Calculate drift percentages based on Rautmann data"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate drift percentages based on Rautmann data — drift_percentages_rautmann • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate drift percentages based on Rautmann data — drift_percentages_rautmann"><meta name="description" content="Calculate drift percentages based on Rautmann data"><meta property="og:description" content="Calculate drift percentages based on Rautmann data"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.2</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Calculate drift percentages based on Rautmann data</h1>
+
+ <h1>Calculate drift percentages based on Rautmann data</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_drift.R" class="external-link"><code>R/PEC_sw_drift.R</code></a></small>
<div class="d-none name"><code>drift_percentages_rautmann.Rd</code></div>
</div>
@@ -60,25 +51,27 @@
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>distances</dt>
+
+
+<dl><dt id="arg-distances">distances<a class="anchor" aria-label="anchor" href="#arg-distances"></a></dt>
<dd><p>The distances in m for which to get PEC values</p></dd>
-<dt>applications</dt>
+<dt id="arg-applications">applications<a class="anchor" aria-label="anchor" href="#arg-applications"></a></dt>
<dd><p>Number of applications for selection of drift percentile</p></dd>
-<dt>crop_group_focus</dt>
+<dt id="arg-crop-group-focus">crop_group_focus<a class="anchor" aria-label="anchor" href="#arg-crop-group-focus"></a></dt>
<dd><p>One of the crop groups as used in <a href="drift_parameters_focus.html">drift_parameters_focus</a></p></dd>
-<dt>formula</dt>
+<dt id="arg-formula">formula<a class="anchor" aria-label="anchor" href="#arg-formula"></a></dt>
<dd><p>By default, the original Rautmann formula is used. If you
specify "FOCUS", mean drift input over the width of the water body is
calculated as described in Chapter 5.4.5 of the FOCUS surface water guidance</p></dd>
-<dt>widths</dt>
+<dt id="arg-widths">widths<a class="anchor" aria-label="anchor" href="#arg-widths"></a></dt>
<dd><p>The widths of the water bodies (only used in the FOCUS formula)</p></dd>
</dl></div>
@@ -135,23 +128,23 @@ FOrum for the Co-ordination of pesticde fate models and their USe.
<span class="r-plt img"><img src="drift_percentages_rautmann-1.png" alt="" width="700" height="433"></span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/endpoint.html b/docs/reference/endpoint.html
index 6705770..228d77f 100644
--- a/docs/reference/endpoint.html
+++ b/docs/reference/endpoint.html
@@ -1,49 +1,40 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="R6 class objects of class chent represent chemical entities
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Retrieve endpoint information from the chyaml field of a chent object — endpoint • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Retrieve endpoint information from the chyaml field of a chent object — endpoint"><meta name="description" content="R6 class objects of class chent represent chemical entities
and can hold a list of information loaded from a chemical yaml file in their
chyaml field. Such information is extracted and optionally aggregated by
-this function."><title>Retrieve endpoint information from the chyaml field of a chent object — endpoint • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Retrieve endpoint information from the chyaml field of a chent object — endpoint"><meta property="og:description" content="R6 class objects of class chent represent chemical entities
+this function."><meta property="og:description" content="R6 class objects of class chent represent chemical entities
and can hold a list of information loaded from a chemical yaml file in their
chyaml field. Such information is extracted and optionally aggregated by
-this function."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+this function."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Retrieve endpoint information from the chyaml field of a chent object</h1>
+
+ <h1>Retrieve endpoint information from the chyaml field of a chent object</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/endpoint.R" class="external-link"><code>R/endpoint.R</code></a></small>
<div class="d-none name"><code>endpoint.Rd</code></div>
</div>
@@ -94,59 +85,59 @@ this function.</p>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>chent</dt>
+
+
+<dl><dt id="arg-chent">chent<a class="anchor" aria-label="anchor" href="#arg-chent"></a></dt>
<dd><p>The chent object to get the information from</p></dd>
-<dt>medium</dt>
+<dt id="arg-medium">medium<a class="anchor" aria-label="anchor" href="#arg-medium"></a></dt>
<dd><p>The medium for which information is sought</p></dd>
-<dt>type</dt>
+<dt id="arg-type">type<a class="anchor" aria-label="anchor" href="#arg-type"></a></dt>
<dd><p>The information type</p></dd>
-<dt>lab_field</dt>
+<dt id="arg-lab-field">lab_field<a class="anchor" aria-label="anchor" href="#arg-lab-field"></a></dt>
<dd><p>If not NA, do we want laboratory or field endpoints</p></dd>
-<dt>redox</dt>
+<dt id="arg-redox">redox<a class="anchor" aria-label="anchor" href="#arg-redox"></a></dt>
<dd><p>If not NA, are we looking for aerobic or anaerobic data</p></dd>
-<dt>value</dt>
+<dt id="arg-value">value<a class="anchor" aria-label="anchor" href="#arg-value"></a></dt>
<dd><p>The name of the value we want. The list given in the
usage section is not exclusive</p></dd>
-<dt>aggregator</dt>
+<dt id="arg-aggregator">aggregator<a class="anchor" aria-label="anchor" href="#arg-aggregator"></a></dt>
<dd><p>The aggregator function. Can be mean,
<code><a href="geomean.html">geomean</a></code>, or identity, for example.</p></dd>
-<dt>raw</dt>
+<dt id="arg-raw">raw<a class="anchor" aria-label="anchor" href="#arg-raw"></a></dt>
<dd><p>Should the number(s) be returned as stored in the chent
object (could be a character value) to retain original information
about precision?</p></dd>
-<dt>signif</dt>
+<dt id="arg-signif">signif<a class="anchor" aria-label="anchor" href="#arg-signif"></a></dt>
<dd><p>How many significant digits do we want</p></dd>
-<dt>values</dt>
+<dt id="arg-values">values<a class="anchor" aria-label="anchor" href="#arg-values"></a></dt>
<dd><p>The values to be returned</p></dd>
-<dt>aggregators</dt>
+<dt id="arg-aggregators">aggregators<a class="anchor" aria-label="anchor" href="#arg-aggregators"></a></dt>
<dd><p>A named vector of aggregator functions to be used</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
-
-
-<p>The result from applying the aggregator function to
+ <p>The result from applying the aggregator function to
the values converted to a numeric vector, rounded to the
given number of significant digits, or, if raw = TRUE,
the values as a character value, retaining any implicit
@@ -160,23 +151,23 @@ facilitate dealing with such data in R. In pesticide fate modelling, this
exponent is often called 1/n.</p>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/index.html b/docs/reference/index.html
index aaa499d..97f59b5 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -1,337 +1,365 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Function reference • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Function reference"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Package index • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Package index"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.2</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-index">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Function reference</h1>
+
+ <h1>Package index</h1>
</div>
<div class="section level2">
<h2 id="general-utility-functions">General utility functions<a class="anchor" aria-label="anchor" href="#general-utility-functions"></a></h2>
-
- <p class="section-desc"></p><p>Functions that are independent of specific fate modelling areas</p>
-
- </div><div id="" class="section level2">
-
-
-
+ <div class="section-desc"><p>Functions that are independent of specific fate modelling areas</p></div>
+
+
+ </div><div class="section level2">
+
+
+
<dl><dt>
-
- <code><a href="geomean.html">geomean()</a></code>
+
+ <code><a href="geomean.html">geomean()</a></code>
+
</dt>
<dd>Calculate the geometric mean</dd>
</dl><dl><dt>
-
- <code><a href="one_box.html">one_box()</a></code>
+
+ <code><a href="one_box.html">one_box()</a></code>
+
</dt>
<dd>Create a time series of decline data</dd>
</dl><dl><dt>
-
- <code><a href="plot.one_box.html">plot(<i>&lt;one_box&gt;</i>)</a></code>
+
+ <code><a href="plot.one_box.html">plot(<i>&lt;one_box&gt;</i>)</a></code>
+
</dt>
<dd>Plot time series of decline data</dd>
</dl><dl><dt>
-
- <code><a href="sawtooth.html">sawtooth()</a></code>
+
+ <code><a href="sawtooth.html">sawtooth()</a></code>
+
</dt>
<dd>Create decline time series for multiple applications</dd>
</dl><dl><dt>
-
- <code><a href="twa.html">twa()</a></code>
+
+ <code><a href="twa.html">twa()</a></code>
+
</dt>
<dd>Calculate a time weighted average concentration</dd>
</dl><dl><dt>
-
- <code><a href="max_twa.html">max_twa()</a></code>
+
+ <code><a href="max_twa.html">max_twa()</a></code>
+
</dt>
<dd>The maximum time weighted average concentration for a moving window</dd>
</dl><dl><dt>
-
- <code><a href="pfm_degradation.html">pfm_degradation()</a></code>
+
+ <code><a href="pfm_degradation.html">pfm_degradation()</a></code>
+
</dt>
<dd>Calculate a time course of relative concentrations based on an mkinmod model</dd>
</dl><dl><dt>
-
- <code><a href="SFO_actual_twa.html">SFO_actual_twa()</a></code>
+
+ <code><a href="SFO_actual_twa.html">SFO_actual_twa()</a></code>
+
</dt>
<dd>Actual and maximum moving window time average concentrations for SFO kinetics</dd>
</dl><dl><dt>
-
- <code><a href="FOMC_actual_twa.html">FOMC_actual_twa()</a></code>
+
+ <code><a href="FOMC_actual_twa.html">FOMC_actual_twa()</a></code>
+
</dt>
<dd>Actual and maximum moving window time average concentrations for FOMC kinetics</dd>
</dl><dl><dt>
-
- <code><a href="reexports.html">reexports</a></code> <code><a href="reexports.html">set_nd_nq</a></code> <code><a href="reexports.html">set_nd_nq_focus</a></code>
+
+ <code><a href="reexports.html">reexports</a></code> <code><a href="reexports.html">set_nd_nq</a></code> <code><a href="reexports.html">set_nd_nq_focus</a></code>
+
</dt>
<dd>Objects exported from other packages</dd>
</dl><dl><dt>
-
- <code><a href="TSCF.html">TSCF()</a></code>
+
+ <code><a href="TSCF.html">TSCF()</a></code>
+
</dt>
<dd>Estimation of the transpiration stream concentration factor</dd>
</dl></div><div class="section level2">
<h2 id="predicted-environmental-concentrations-in-soil">Predicted environmental concentrations in soil<a class="anchor" aria-label="anchor" href="#predicted-environmental-concentrations-in-soil"></a></h2>
-
-
-
- </div><div id="" class="section level2">
-
-
-
+
+
+
+ </div><div class="section level2">
+
+
+
<dl><dt>
-
- <code><a href="PEC_soil.html">PEC_soil()</a></code>
+
+ <code><a href="PEC_soil.html">PEC_soil()</a></code>
+
</dt>
<dd>Calculate predicted environmental concentrations in soil</dd>
</dl><dl><dt>
-
- <code><a href="PEC_soil_mets.html">PEC_soil_mets()</a></code>
+
+ <code><a href="PEC_soil_mets.html">PEC_soil_mets()</a></code>
+
</dt>
<dd>Calculate initial and accumulation PEC soil for a set of metabolites</dd>
</dl><dl><dt>
-
- <code><a href="soil_scenario_data_EFSA_2015.html">soil_scenario_data_EFSA_2015</a></code>
+
+ <code><a href="soil_scenario_data_EFSA_2015.html">soil_scenario_data_EFSA_2015</a></code>
+
</dt>
<dd>Properties of the predefined scenarios from the EFSA guidance from 2015</dd>
</dl><dl><dt>
-
- <code><a href="soil_scenario_data_EFSA_2017.html">soil_scenario_data_EFSA_2017</a></code>
+
+ <code><a href="soil_scenario_data_EFSA_2017.html">soil_scenario_data_EFSA_2017</a></code>
+
</dt>
<dd>Properties of the predefined scenarios from the EFSA guidance from 2017</dd>
</dl><dl><dt>
-
- <code><a href="PEC_FOMC_accu_rel.html">PEC_FOMC_accu_rel()</a></code>
+
+ <code><a href="PEC_FOMC_accu_rel.html">PEC_FOMC_accu_rel()</a></code>
+
</dt>
<dd>Get the relative accumulation of an FOMC model over multiples of an interval</dd>
</dl><dl><dt>
-
- <code><a href="EFSA_washoff_2017.html">EFSA_washoff_2017</a></code>
+
+ <code><a href="EFSA_washoff_2017.html">EFSA_washoff_2017</a></code>
+
</dt>
<dd>Subset of EFSA crop washoff default values</dd>
</dl></div><div class="section level2">
<h2 id="predicted-environmental-concentrations-in-groundwater">Predicted environmental concentrations in groundwater<a class="anchor" aria-label="anchor" href="#predicted-environmental-concentrations-in-groundwater"></a></h2>
-
-
-
- </div><div id="" class="section level2">
-
-
-
+
+
+
+ </div><div class="section level2">
+
+
+
<dl><dt>
-
- <code><a href="FOCUS_GW_scenarios_2012.html">FOCUS_GW_scenarios_2012</a></code>
+
+ <code><a href="FOCUS_GW_scenarios_2012.html">FOCUS_GW_scenarios_2012</a></code>
+
</dt>
<dd>A very small subset of the FOCUS Groundwater scenario definitions</dd>
</dl><dl><dt>
-
- <code><a href="EFSA_GW_interception_2014.html">EFSA_GW_interception_2014</a></code>
+
+ <code><a href="EFSA_GW_interception_2014.html">EFSA_GW_interception_2014</a></code>
+
</dt>
<dd>Subset of EFSA crop interception default values for groundwater modelling</dd>
</dl></div><div class="section level2">
<h2 id="predicted-environmental-concentrations-in-surface-water">Predicted environmental concentrations in surface water<a class="anchor" aria-label="anchor" href="#predicted-environmental-concentrations-in-surface-water"></a></h2>
-
-
-
- </div><div id="" class="section level2">
-
-
-
+
+
+
+ </div><div class="section level2">
+
+
+
<dl><dt>
-
- <code><a href="PEC_sw_drift.html">PEC_sw_drift()</a></code>
+
+ <code><a href="PEC_sw_drift.html">PEC_sw_drift()</a></code>
+
</dt>
<dd>Calculate predicted environmental concentrations in surface water due to drift</dd>
</dl><dl><dt>
-
- <code><a href="drift_data_JKI.html">drift_data_JKI</a></code>
+
+ <code><a href="drift_data_JKI.html">drift_data_JKI</a></code>
+
</dt>
- <dd>Deposition from spray drift expressed as percent of the applied dose as
-published by the JKI</dd>
+ <dd>Deposition from spray drift expressed as percent of the applied dose as published by the JKI</dd>
</dl><dl><dt>
-
- <code><a href="drift_parameters_focus.html">drift_parameters_focus</a></code>
+
+ <code><a href="drift_parameters_focus.html">drift_parameters_focus</a></code>
+
</dt>
<dd>Regression parameters for the Rautmann drift data</dd>
</dl><dl><dt>
-
- <code><a href="drift_percentages_rautmann.html">drift_percentages_rautmann()</a></code>
+
+ <code><a href="drift_percentages_rautmann.html">drift_percentages_rautmann()</a></code>
+
</dt>
<dd>Calculate drift percentages based on Rautmann data</dd>
</dl><dl><dt>
-
- <code><a href="PEC_sw_drainage_UK.html">PEC_sw_drainage_UK()</a></code>
+
+ <code><a href="PEC_sw_drainage_UK.html">PEC_sw_drainage_UK()</a></code>
+
</dt>
<dd>Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method</dd>
</dl><dl><dt>
-
- <code><a href="PEC_sw_sed.html">PEC_sw_sed()</a></code>
+
+ <code><a href="PEC_sw_sed.html">PEC_sw_sed()</a></code>
+
</dt>
- <dd>Calculate predicted environmental concentrations in sediment from surface
-water concentrations</dd>
+ <dd>Calculate predicted environmental concentrations in sediment from surface water concentrations</dd>
</dl><dl><dt>
-
- <code><a href="PEC_sw_focus.html">PEC_sw_focus()</a></code>
+
+ <code><a href="PEC_sw_focus.html">PEC_sw_focus()</a></code>
+
</dt>
<dd>Calculate PEC surface water at FOCUS Step 1</dd>
</dl><dl><dt>
-
- <code><a href="chent_focus_sw.html">chent_focus_sw()</a></code>
+
+ <code><a href="chent_focus_sw.html">chent_focus_sw()</a></code>
+
</dt>
<dd>Create a chemical compound object for FOCUS Step 1 calculations</dd>
</dl><dl><dt>
-
- <code><a href="FOCUS_Step_12_scenarios.html">FOCUS_Step_12_scenarios</a></code>
+
+ <code><a href="FOCUS_Step_12_scenarios.html">FOCUS_Step_12_scenarios</a></code>
+
</dt>
<dd>Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator</dd>
</dl><dl><dt>
-
- <code><a href="PEC_sw_exposit_drainage.html">PEC_sw_exposit_drainage()</a></code>
+
+ <code><a href="PEC_sw_exposit_drainage.html">PEC_sw_exposit_drainage()</a></code>
+
</dt>
<dd>Calculate PEC surface water due to drainage as in Exposit 3</dd>
</dl><dl><dt>
-
- <code><a href="PEC_sw_exposit_runoff.html">PEC_sw_exposit_runoff()</a></code>
+
+ <code><a href="PEC_sw_exposit_runoff.html">PEC_sw_exposit_runoff()</a></code>
+
</dt>
<dd>Calculate PEC surface water due to runoff and erosion as in Exposit 3</dd>
</dl><dl><dt>
-
- <code><a href="perc_runoff_exposit.html">perc_runoff_exposit</a></code>
+
+ <code><a href="perc_runoff_exposit.html">perc_runoff_exposit</a></code>
+
</dt>
<dd>Runoff loss percentages as used in Exposit 3</dd>
</dl><dl><dt>
-
- <code><a href="perc_runoff_reduction_exposit.html">perc_runoff_reduction_exposit</a></code>
+
+ <code><a href="perc_runoff_reduction_exposit.html">perc_runoff_reduction_exposit</a></code>
+
</dt>
<dd>Runoff reduction percentages as used in Exposit</dd>
</dl><dl><dt>
-
- <code><a href="TOXSWA_cwa.html">TOXSWA_cwa</a></code>
+
+ <code><a href="TOXSWA_cwa.html">TOXSWA_cwa</a></code>
+
</dt>
<dd>R6 class for holding TOXSWA water concentration data and associated statistics</dd>
</dl><dl><dt>
-
- <code><a href="read.TOXSWA_cwa.html">read.TOXSWA_cwa()</a></code>
+
+ <code><a href="read.TOXSWA_cwa.html">read.TOXSWA_cwa()</a></code>
+
</dt>
<dd>Read TOXSWA surface water concentrations</dd>
</dl><dl><dt>
-
- <code><a href="plot.TOXSWA_cwa.html">plot(<i>&lt;TOXSWA_cwa&gt;</i>)</a></code>
+
+ <code><a href="plot.TOXSWA_cwa.html">plot(<i>&lt;TOXSWA_cwa&gt;</i>)</a></code>
+
</dt>
<dd>Plot TOXSWA surface water concentrations</dd>
</dl></div><div class="section level2">
<h2 id="classifications-and-indicators">Classifications and indicators<a class="anchor" aria-label="anchor" href="#classifications-and-indicators"></a></h2>
-
- <p class="section-desc"></p><p>Evaluating environmental fate properties</p>
-
- </div><div id="" class="section level2">
-
-
-
+ <div class="section-desc"><p>Evaluating environmental fate properties</p></div>
+
+
+ </div><div class="section level2">
+
+
+
<dl><dt>
-
- <code><a href="SSLRC_mobility_classification.html">SSLRC_mobility_classification()</a></code>
+
+ <code><a href="SSLRC_mobility_classification.html">SSLRC_mobility_classification()</a></code>
+
</dt>
<dd>Determine the SSLRC mobility classification for a chemical substance from its Koc</dd>
</dl><dl><dt>
-
- <code><a href="GUS.html">GUS()</a></code> <code><a href="GUS.html">print(<i>&lt;GUS_result&gt;</i>)</a></code>
+
+ <code><a href="GUS.html">GUS()</a></code> <code><a href="GUS.html">print(<i>&lt;GUS_result&gt;</i>)</a></code>
+
</dt>
<dd>Groundwater ubiquity score based on Gustafson (1989)</dd>
</dl></div><div class="section level2">
<h2 id="work-with-chent-objects-containing-relevant-information">Work with chent objects containing relevant information<a class="anchor" aria-label="anchor" href="#work-with-chent-objects-containing-relevant-information"></a></h2>
-
-
-
- </div><div id="" class="section level2">
-
-
-
+
+
+
+ </div><div class="section level2">
+
+
+
<dl><dt>
-
- <code><a href="endpoint.html">endpoint()</a></code> <code><a href="endpoint.html">soil_DT50()</a></code> <code><a href="endpoint.html">soil_Kfoc()</a></code> <code><a href="endpoint.html">soil_N()</a></code> <code><a href="endpoint.html">soil_sorption()</a></code>
+
+ <code><a href="endpoint.html">endpoint()</a></code> <code><a href="endpoint.html">soil_DT50()</a></code> <code><a href="endpoint.html">soil_Kfoc()</a></code> <code><a href="endpoint.html">soil_N()</a></code> <code><a href="endpoint.html">soil_sorption()</a></code>
+
</dt>
<dd>Retrieve endpoint information from the chyaml field of a chent object</dd>
</dl></div><div class="section level2">
<h2 id="utilities">Utilities<a class="anchor" aria-label="anchor" href="#utilities"></a></h2>
-
-
-
- </div><div id="" class="section level2">
-
-
-
+
+
+
+ </div><div class="section level2">
+
+
+
<dl><dt>
-
- <code><a href="get_vertex.html">get_vertex()</a></code>
+
+ <code><a href="get_vertex.html">get_vertex()</a></code>
+
</dt>
<dd>Fit a parabola through three points</dd>
</dl></div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/max_twa.html b/docs/reference/max_twa.html
index 4d469eb..74eeb46 100644
--- a/docs/reference/max_twa.html
+++ b/docs/reference/max_twa.html
@@ -1,51 +1,42 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="If you generate your time series using sawtooth,
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>The maximum time weighted average concentration for a moving window — max_twa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="The maximum time weighted average concentration for a moving window — max_twa"><meta name="description" content="If you generate your time series using sawtooth,
you need to make sure that the length of the time series allows
for finding the maximum. It is therefore recommended to check this using
plot.one_box using the window size for the argument
-max_twa."><title>The maximum time weighted average concentration for a moving window — max_twa • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="The maximum time weighted average concentration for a moving window — max_twa"><meta property="og:description" content="If you generate your time series using sawtooth,
+max_twa."><meta property="og:description" content="If you generate your time series using sawtooth,
you need to make sure that the length of the time series allows
for finding the maximum. It is therefore recommended to check this using
plot.one_box using the window size for the argument
-max_twa."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+max_twa."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>The maximum time weighted average concentration for a moving window</h1>
+
+ <h1>The maximum time weighted average concentration for a moving window</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/twa.R" class="external-link"><code>R/twa.R</code></a></small>
<div class="d-none name"><code>max_twa.Rd</code></div>
</div>
@@ -65,17 +56,19 @@ for finding the maximum. It is therefore recommended to check this using
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
- <dl><dt>x</dt>
+
+
+<dl><dt id="arg-x">x<a class="anchor" aria-label="anchor" href="#arg-x"></a></dt>
<dd><p>An object of type <code><a href="one_box.html">one_box</a></code></p></dd>
-<dt>window</dt>
+<dt id="arg-window">window<a class="anchor" aria-label="anchor" href="#arg-window"></a></dt>
<dd><p>The size of the moving window</p></dd>
</dl></div>
<div class="section level2">
<h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
- <p>The method working directly on fitted <code>mkinfit</code> objects uses the
+ <p>The method working directly on fitted <code><a href="https://pkgdown.jrwb.de/mkin/reference/mkinfit.html" class="external-link">mkinfit</a></code> objects uses the
equations given in the PEC soil section of the FOCUS guidance and is restricted
SFO, FOMC and DFOP models and to the parent compound</p>
</div>
@@ -109,29 +102,29 @@ EC Document Reference Sanco/10058/2005 version 2.0, 434 pp,
<span class="r-out co"><span class="r-pr">#&gt;</span> parent </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 21 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
-<span class="r-in"><span><span class="va">pred_FOMC</span> <span class="op">&lt;-</span> <span class="fu">mkinfit</span><span class="op">(</span><span class="st">"FOMC"</span>, <span class="va">FOCUS_2006_C</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
+<span class="r-in"><span><span class="va">pred_FOMC</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://pkgdown.jrwb.de/mkin/reference/mkinfit.html" class="external-link">mkinfit</a></span><span class="op">(</span><span class="st">"FOMC"</span>, <span class="va">FOCUS_2006_C</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="fu">max_twa</span><span class="op">(</span><span class="va">pred_FOMC</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 21 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 18.22124 </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/one_box.character.html b/docs/reference/one_box.character.html
new file mode 100644
index 0000000..b2bfb92
--- /dev/null
+++ b/docs/reference/one_box.character.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/one_box.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/one_box.html">
+ </head>
+</html>
+
diff --git a/docs/reference/one_box.mkinfit.html b/docs/reference/one_box.mkinfit.html
new file mode 100644
index 0000000..b2bfb92
--- /dev/null
+++ b/docs/reference/one_box.mkinfit.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/one_box.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/one_box.html">
+ </head>
+</html>
+
diff --git a/docs/reference/one_box.numeric.html b/docs/reference/one_box.numeric.html
new file mode 100644
index 0000000..b2bfb92
--- /dev/null
+++ b/docs/reference/one_box.numeric.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/one_box.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/one_box.html">
+ </head>
+</html>
+
diff --git a/docs/reference/perc_runoff_exposit.html b/docs/reference/perc_runoff_exposit.html
index 2311d09..a1afbde 100644
--- a/docs/reference/perc_runoff_exposit.html
+++ b/docs/reference/perc_runoff_exposit.html
@@ -1,44 +1,35 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="A table of the loss percentages used in Exposit 3 for the twelve different Koc classes"><title>Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit"><meta property="og:description" content="A table of the loss percentages used in Exposit 3 for the twelve different Koc classes"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit"><meta name="description" content="A table of the loss percentages used in Exposit 3 for the twelve different Koc classes"><meta property="og:description" content="A table of the loss percentages used in Exposit 3 for the twelve different Koc classes"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Runoff loss percentages as used in Exposit 3</h1>
- <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit_runoff.R" class="external-link"><code>R/PEC_sw_exposit_runoff.R</code></a></small>
+
+ <h1>Runoff loss percentages as used in Exposit 3</h1>
+ <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit.R" class="external-link"><code>R/PEC_sw_exposit.R</code></a></small>
<div class="d-none name"><code>perc_runoff_exposit.Rd</code></div>
</div>
@@ -77,37 +68,37 @@ adjacent water body bound to eroding particles</p></dd>
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/print.html" class="external-link">print</a></span><span class="op">(</span><span class="va">perc_runoff_exposit</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> Koc_lower_bound dissolved bound</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> 0-20 0 0.110 0.000</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;20-50 20 0.151 0.000</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;50-100 50 0.197 0.000</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;100-200 100 0.248 0.001</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;200-500 200 0.224 0.004</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;500-1000 500 0.184 0.020</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;1000-2000 1000 0.133 0.042</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;2000-5000 2000 0.084 0.091</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;5000-10000 5000 0.037 0.159</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;10000-20000 10000 0.031 0.192</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;20000-50000 20000 0.014 0.291</span>
-<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;50000 50000 0.001 0.451</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> 0-20 0 [L/kg] 0.110 0.000</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;20-50 20 [L/kg] 0.151 0.000</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;50-100 50 [L/kg] 0.197 0.000</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;100-200 100 [L/kg] 0.248 0.001</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;200-500 200 [L/kg] 0.224 0.004</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;500-1000 500 [L/kg] 0.184 0.020</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;1000-2000 1000 [L/kg] 0.133 0.042</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;2000-5000 2000 [L/kg] 0.084 0.091</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;5000-10000 5000 [L/kg] 0.037 0.159</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;10000-20000 10000 [L/kg] 0.031 0.192</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;20000-50000 20000 [L/kg] 0.014 0.291</span>
+<span class="r-out co"><span class="r-pr">#&gt;</span> &gt;50000 50000 [L/kg] 0.001 0.451</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/perc_runoff_reduction_exposit.html b/docs/reference/perc_runoff_reduction_exposit.html
index 24a199e..5bb3a57 100644
--- a/docs/reference/perc_runoff_reduction_exposit.html
+++ b/docs/reference/perc_runoff_reduction_exposit.html
@@ -1,44 +1,35 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="A table of the runoff reduction percentages used in Exposit 3 for different vegetated buffer widths"><title>Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit"><meta property="og:description" content="A table of the runoff reduction percentages used in Exposit 3 for different vegetated buffer widths"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit"><meta name="description" content="A table of the runoff reduction percentages used in Exposit 3 for different vegetated buffer widths"><meta property="og:description" content="A table of the runoff reduction percentages used in Exposit 3 for different vegetated buffer widths"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Runoff reduction percentages as used in Exposit</h1>
- <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit_runoff.R" class="external-link"><code>R/PEC_sw_exposit_runoff.R</code></a></small>
+
+ <h1>Runoff reduction percentages as used in Exposit</h1>
+ <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit.R" class="external-link"><code>R/PEC_sw_exposit.R</code></a></small>
<div class="d-none name"><code>perc_runoff_reduction_exposit.Rd</code></div>
</div>
@@ -103,23 +94,23 @@ The variant 3.01a2 was introduced for consistency with previous calculations per
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/print.GUS_result.html b/docs/reference/print.GUS_result.html
new file mode 100644
index 0000000..15d3826
--- /dev/null
+++ b/docs/reference/print.GUS_result.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/GUS.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/GUS.html">
+ </head>
+</html>
+
diff --git a/docs/reference/set_nd_nq.html b/docs/reference/set_nd_nq.html
new file mode 100644
index 0000000..2291be7
--- /dev/null
+++ b/docs/reference/set_nd_nq.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/reexports.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/reexports.html">
+ </head>
+</html>
+
diff --git a/docs/reference/set_nd_nq_focus.html b/docs/reference/set_nd_nq_focus.html
new file mode 100644
index 0000000..2291be7
--- /dev/null
+++ b/docs/reference/set_nd_nq_focus.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/reexports.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/reexports.html">
+ </head>
+</html>
+
diff --git a/docs/reference/soil_DT50.html b/docs/reference/soil_DT50.html
new file mode 100644
index 0000000..2224ee0
--- /dev/null
+++ b/docs/reference/soil_DT50.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/endpoint.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/endpoint.html">
+ </head>
+</html>
+
diff --git a/docs/reference/soil_Kfoc.html b/docs/reference/soil_Kfoc.html
new file mode 100644
index 0000000..2224ee0
--- /dev/null
+++ b/docs/reference/soil_Kfoc.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/endpoint.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/endpoint.html">
+ </head>
+</html>
+
diff --git a/docs/reference/soil_N.html b/docs/reference/soil_N.html
new file mode 100644
index 0000000..2224ee0
--- /dev/null
+++ b/docs/reference/soil_N.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/endpoint.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/endpoint.html">
+ </head>
+</html>
+
diff --git a/docs/reference/soil_scenario_data_EFSA_2015.html b/docs/reference/soil_scenario_data_EFSA_2015.html
index 41f1078..b65586c 100644
--- a/docs/reference/soil_scenario_data_EFSA_2015.html
+++ b/docs/reference/soil_scenario_data_EFSA_2015.html
@@ -1,47 +1,38 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015"><meta name="description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
concentration in soil as given in the EFSA guidance (2015, p. 13/14). Also, the
-scenario and model adjustment factors from p. 15 and p. 17 are included."><title>Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015"><meta property="og:description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
+scenario and model adjustment factors from p. 15 and p. 17 are included."><meta property="og:description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
concentration in soil as given in the EFSA guidance (2015, p. 13/14). Also, the
-scenario and model adjustment factors from p. 15 and p. 17 are included."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+scenario and model adjustment factors from p. 15 and p. 17 are included."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Properties of the predefined scenarios from the EFSA guidance from 2015</h1>
+
+ <h1>Properties of the predefined scenarios from the EFSA guidance from 2015</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/soil_scenario_data_EFSA_2015.R" class="external-link"><code>R/soil_scenario_data_EFSA_2015.R</code></a></small>
<div class="d-none name"><code>soil_scenario_data_EFSA_2015.Rd</code></div>
</div>
@@ -91,23 +82,23 @@ active substances in soil. <em>EFSA Journal</em> <b>13</b>(4) 4093
<span class="r-out co"><span class="r-pr">#&gt;</span> CLS 4</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/soil_scenario_data_EFSA_2017.html b/docs/reference/soil_scenario_data_EFSA_2017.html
index b1adfab..1a6157a 100644
--- a/docs/reference/soil_scenario_data_EFSA_2017.html
+++ b/docs/reference/soil_scenario_data_EFSA_2017.html
@@ -1,47 +1,38 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017"><meta name="description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
concentration in soil as given in the EFSA guidance (2017, p. 14/15). Also, the
-scenario and model adjustment factors from p. 16 and p. 18 are included."><title>Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017 • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017"><meta property="og:description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
+scenario and model adjustment factors from p. 16 and p. 18 are included."><meta property="og:description" content="Properties of the predefined scenarios used at Tier 1, Tier 2A and Tier 3A for the
concentration in soil as given in the EFSA guidance (2017, p. 14/15). Also, the
-scenario and model adjustment factors from p. 16 and p. 18 are included."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]--></head><body>
+scenario and model adjustment factors from p. 16 and p. 18 are included."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
-
- <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
-
+
+ <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
+
<a class="navbar-brand me-2" href="../index.html">pfm</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small>
+
-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
- <ul class="navbar-nav me-auto"><li class="active nav-item">
- <a class="nav-link" href="../reference/index.html">Reference</a>
-</li>
- </ul><form class="form-inline my-2 my-lg-0" role="search">
- <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
-
- <ul class="navbar-nav"><li class="nav-item">
- <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github">
- <span class="fab fa fab fa-github fa-lg"></span>
-
- </a>
-</li>
+ <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
+<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
+ </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
+ <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
+<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
-
+
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
- <img src="" class="logo" alt=""><h1>Properties of the predefined scenarios from the EFSA guidance from 2017</h1>
+
+ <h1>Properties of the predefined scenarios from the EFSA guidance from 2017</h1>
<small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/soil_scenario_data_EFSA_2017.R" class="external-link"><code>R/soil_scenario_data_EFSA_2017.R</code></a></small>
<div class="d-none name"><code>soil_scenario_data_EFSA_2017.Rd</code></div>
</div>
@@ -124,23 +115,23 @@ active substances in soil. <em>EFSA Journal</em> <b>15</b>(10) 4982
<span class="r-out co"><span class="r-pr">#&gt;</span> And 3 more differences ...</span>
</code></pre></div>
</div>
- </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
+ </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
- <p></p><p>Developed by Johannes Ranke.</p>
+ <p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown-footer-right">
- <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
+ <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p>
</div>
</footer></div>
-
-
+
+
</body></html>
diff --git a/docs/reference/soil_sorption.html b/docs/reference/soil_sorption.html
new file mode 100644
index 0000000..2224ee0
--- /dev/null
+++ b/docs/reference/soil_sorption.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/endpoint.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/endpoint.html">
+ </head>
+</html>
+
diff --git a/docs/reference/twa.one_box.html b/docs/reference/twa.one_box.html
new file mode 100644
index 0000000..9372dd5
--- /dev/null
+++ b/docs/reference/twa.one_box.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0;URL=https://pkgdown.jrwb.de/pfm/reference/twa.html" />
+ <meta name="robots" content="noindex">
+ <link rel="canonical" href="https://pkgdown.jrwb.de/pfm/reference/twa.html">
+ </head>
+</html>
+
diff --git a/docs/search.json b/docs/search.json
index 223c957..67fba0e 100644
--- a/docs/search.json
+++ b/docs/search.json
@@ -1 +1 @@
-[{"path":"https://pkgdown.jrwb.de/pfm/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Johannes Ranke. Author, maintainer.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Johannes Ranke (2024). pfm: Utilities Pesticide Fate Modelling. R package version 0.6.2, https://github.com/jranke/pfm, https://pkgdown.jrwb.de/pfm.","code":"@Manual{, title = {pfm: Utilities for Pesticide Fate Modelling}, author = {{Johannes Ranke}}, year = {2024}, note = {R package version 0.6.2, https://github.com/jranke/pfm}, url = {https://pkgdown.jrwb.de/pfm}, }"},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"pfm","dir":"","previous_headings":"","what":"Utilities for Pesticide Fate Modelling","title":"Utilities for Pesticide Fate Modelling","text":"R package pfm provides utilities fate modelling, including dealing FOCUS pesticide fate modelling tools, (currently TOXSWA cwa files), made available GNU public license.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Utilities for Pesticide Fate Modelling","text":"easiest way install package probably use r-universe repo: Alternatively can install package using remotes package. Using quick = TRUE skips docs, multiple-architecture builds, demos, vignettes.","code":"install.packages(\"pfm\", repos = c(\"https://jranke.r-universe.dev\", \"https://cran.r-project.org\")) remotes::install_github(\"jranke/pfm\", quick = TRUE)"},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"use","dir":"","previous_headings":"","what":"Use","title":"Utilities for Pesticide Fate Modelling","text":"Please refer reference.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"examples","dir":"","previous_headings":"","what":"Examples","title":"Utilities for Pesticide Fate Modelling","text":"One recent nice example usage package visualisation time weighted average sawtooth curve obtained several overlays mkinfit predictions shown .","code":""},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"applications","dir":"","previous_headings":"","what":"Applications","title":"Utilities for Pesticide Fate Modelling","text":"Calculations predicted environmental concentrations using package used publications Agroscope.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":null,"dir":"Reference","previous_headings":"","what":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"Subset EFSA crop interception default values groundwater modelling","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"","code":"EFSA_GW_interception_2014"},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"matrix containing interception values, currently selected crops","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"European Food Safety Authority (2014) EFSA Guidance Document evaluating laboratory field dissipation studies obtain DegT50 values active substances plant protection products transformation products active substances soil. EFSA Journal 12(5):3662, 37 pp., doi:10.2903/j.efsa.2014.3662","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"","code":"EFSA_GW_interception_2014 #> BBCH #> Crop 0x 1x 2x 3x 4x 5x 6x 7x 8x 9x #> Beans (field + vegetable) 0 0.25 0.40 0.40 0.70 0.70 0.70 0.70 0.70 0.80 #> Peas 0 0.35 0.55 0.55 0.85 0.85 0.85 0.85 0.85 0.85 #> Summer oilseed rape 0 0.40 0.80 0.80 0.80 0.80 0.80 0.80 0.80 0.90 #> Winter oilseed rape 0 0.40 0.80 0.80 0.80 0.80 0.80 0.80 0.80 0.90 #> Tomatoes 0 0.50 0.70 0.70 0.80 0.80 0.80 0.80 0.80 0.50 #> Spring cereals 0 0.00 0.20 0.80 0.90 0.90 0.90 0.80 0.80 0.80 #> Winter cereals 0 0.00 0.20 0.80 0.90 0.90 0.90 0.80 0.80 0.80"},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":null,"dir":"Reference","previous_headings":"","what":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"Subset EFSA crop washoff default values","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"","code":"EFSA_washoff_2017"},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"matrix containing wash-factors, currently selected crops","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"European Food Safety Authority (2017) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 15(10) 4982 doi:10.2903/j.efsa.2017.4982","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"","code":"EFSA_washoff_2017 #> BBCH #> Crop 0x 1x 2x 3x 4x 5x 6x 7x 8x 9x #> Beans (field + vegetable) NA 0.60 0.75 0.75 0.80 0.80 0.80 0.80 0.80 0.35 #> Peas NA 0.40 0.60 0.60 0.65 0.65 0.65 0.65 0.65 0.35 #> Summer oilseed rape NA 0.40 0.50 0.50 0.60 0.60 0.60 0.60 0.60 0.50 #> Winter oilseed rape NA 0.10 0.40 0.40 0.55 0.55 0.55 0.55 0.55 0.30 #> Tomatoes NA 0.55 0.75 0.75 0.70 0.70 0.70 0.70 0.70 0.35 #> Spring cereals NA 0.40 0.50 0.50 0.65 0.65 0.65 0.65 0.65 0.55 #> Winter cereals NA 0.10 0.40 0.60 0.55 0.55 0.55 0.60 0.60 0.40"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":null,"dir":"Reference","previous_headings":"","what":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"Currently, scenario names acronyms small subset soil definitions provided. soil definitions page 46ff. FOCUS (2012).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"","code":"FOCUS_GW_scenarios_2012"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"object class list length 2.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"FOCUS (2012) Generic guidance Tier 1 FOCUS ground water assessments. Version 2.1. FOrum Co-ordination pesticde fate models USe. http://focus.jrc.ec.europa.eu/gw/docs/Generic_guidance_FOCV2_1.pdf","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"","code":"FOCUS_GW_scenarios_2012 #> $names #> Cha Ham Jok Kre Oke #> \"Châteadun\" \"Hamburg\" \"Jokioinen\" \"Kremsmünster\" \"Okehampton\" #> Pia Por Sev Thi #> \"Piacenza\" \"Porto\" \"Sevilla\" \"Thiva\" #> #> $soils #> location horizon number pH_H2O perc_clay perc_oc rel_deg #> 1 Cha Ap 1 8.0 30.0 1.39 1.0 #> 2 Cha B1 2 8.1 31.0 0.93 0.5 #> 3 Cha B2 3 8.2 25.0 0.70 0.5 #> 4 Cha II C1 4 8.5 26.0 0.30 0.3 #> 5 Cha II C1 5 8.5 26.0 0.30 0.0 #> 6 Cha II C2 6 8.5 24.0 0.27 0.0 #> 7 Cha M 7 8.3 31.0 0.21 0.0 #> 8 Ham Ap 1 6.4 7.2 1.50 1.0 #> 9 Ham BvI 2 5.6 6.7 1.00 0.5 #> 10 Ham BvII 3 5.6 0.9 0.20 0.3 #> 11 Ham Bv/Cv 4 5.7 0.0 0.00 0.3 #> 12 Ham Cv 5 5.5 0.0 0.00 0.3 #> 13 Ham Cv 6 5.5 0.0 0.00 0.0 #> 14 Jok Ap 1 6.2 3.6 4.06 1.0 #> 15 Jok Bs 2 5.6 1.8 0.84 0.5 #> 16 Jok BC1 3 5.4 1.2 0.36 0.3 #> 17 Jok BC2 4 5.4 1.7 0.29 0.3 #> 18 Jok BC2 5 5.4 1.7 0.29 0.0 #> 19 Jok Cg 6 5.3 1.9 0.21 0.0 #> 20 Kre <NA> 1 7.7 14.0 3.60 1.0 #> 21 Kre <NA> 2 7.0 25.0 1.00 0.5 #> 22 Kre <NA> 3 7.1 27.0 0.50 0.5 #> 23 Kre <NA> 4 7.1 27.0 0.50 0.3 #> 24 Kre <NA> 5 7.1 27.0 0.50 0.0 #> 25 Oke A 1 5.8 18.0 2.20 1.0 #> 26 Oke Bw1 2 6.3 17.0 0.70 0.5 #> 27 Oke BC 3 6.5 14.0 0.40 0.3 #> 28 Oke C 4 6.6 9.0 0.10 0.3 #> 29 Oke C 5 6.6 9.0 0.10 0.0 #> 30 Pia Ap 1 7.0 15.0 1.26 1.0 #> 31 Pia Ap 2 7.0 15.0 1.26 0.5 #> 32 Pia Bw 3 6.3 7.0 0.47 0.5 #> 33 Pia Bw 4 6.3 7.0 0.47 0.3 #> 34 Pia 2C 5 6.4 0.0 0.00 0.3 #> 35 Pia 2C 6 6.4 0.0 0.00 0.0 #> 36 Por <NA> 1 4.9 10.0 1.42 1.0 #> 37 Por <NA> 2 4.8 8.0 0.78 0.5 #> 38 Por <NA> 3 4.8 8.0 0.78 0.3 #> 39 Por <NA> 4 4.8 8.0 0.78 0.0 #> 40 Sev <NA> 1 7.3 14.0 0.93 1.0 #> 41 Sev <NA> 2 7.3 13.0 0.93 1.0 #> 42 Sev <NA> 3 7.8 15.0 0.70 0.5 #> 43 Sev <NA> 4 8.1 16.0 0.58 0.3 #> 44 Sev <NA> 5 8.1 16.0 0.58 0.0 #> 45 Sev <NA> 6 8.2 22.0 0.49 0.0 #> 46 Thi Ap1 1 7.7 25.3 0.74 1.0 #> 47 Thi Ap2 2 7.7 25.3 0.74 0.5 #> 48 Thi Bw 3 7.8 29.6 0.57 0.5 #> 49 Thi Bw 4 7.8 31.9 0.31 0.3 #> 50 Thi Ck1 5 7.8 32.9 0.18 0.3 #> 51 Thi Ck1 6 7.8 32.9 0.18 0.0 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html","id":null,"dir":"Reference","previous_headings":"","what":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","title":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","text":"data extracted scenario.txt file using R code shown . text file included package licence clear.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","text":"list containing scenario names character vector called 'names', drift percentiles matrix called 'drift', interception percentages matrix called 'interception' runoff/drainage percentages Step 2 calculations matrix called 'rd'.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","text":"","code":"# \\dontrun{ # This is the code that was used to extract the data scenario_path <- \"inst/extdata/FOCUS_Step_12_scenarios.txt\" scenarios <- readLines(scenario_path)[9:38] #> Warning: cannot open file 'inst/extdata/FOCUS_Step_12_scenarios.txt': No such file or directory #> Error in file(con, \"r\"): cannot open the connection FOCUS_Step_12_scenarios <- list() sce <- read.table(text = scenarios, sep = \"\\t\", header = TRUE, check.names = FALSE, stringsAsFactors = FALSE) #> Error in eval(expr, envir, enclos): object 'scenarios' not found FOCUS_Step_12_scenarios$names = sce$Crop #> Error in eval(expr, envir, enclos): object 'sce' not found rownames(sce) <- sce$Crop #> Error in eval(expr, envir, enclos): object 'sce' not found FOCUS_Step_12_scenarios$drift = sce[, 3:11] #> Error in eval(expr, envir, enclos): object 'sce' not found FOCUS_Step_12_scenarios$interception = sce[, 12:15] #> Error in eval(expr, envir, enclos): object 'sce' not found sce_2 <- readLines(scenario_path)[41:46] #> Warning: cannot open file 'inst/extdata/FOCUS_Step_12_scenarios.txt': No such file or directory #> Error in file(con, \"r\"): cannot open the connection rd <- read.table(text = sce_2, sep = \"\\t\")[1:2] #> Error in eval(expr, envir, enclos): object 'sce_2' not found rd_mat <- matrix(rd$V2, nrow = 3, byrow = FALSE) #> Error in eval(expr, envir, enclos): object 'rd' not found dimnames(rd_mat) = list(Time = c(\"Oct-Feb\", \"Mar-May\", \"Jun-Sep\"), Region = c(\"North\", \"South\")) #> Error: object 'rd_mat' not found FOCUS_Step_12_scenarios$rd = rd_mat #> Error in eval(expr, envir, enclos): object 'rd_mat' not found save(FOCUS_Step_12_scenarios, file = \"data/FOCUS_Step_12_scenarios.RData\") #> Warning: cannot open compressed file 'data/FOCUS_Step_12_scenarios.RData', probable reason 'No such file or directory' #> Error in gzfile(file, \"wb\"): cannot open the connection # } # And this is the resulting data FOCUS_Step_12_scenarios #> list()"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":null,"dir":"Reference","previous_headings":"","what":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"Actual maximum moving window time average concentrations FOMC kinetics","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"","code":"FOMC_actual_twa( alpha = 1.0001, beta = 10, times = c(0, 1, 2, 4, 7, 14, 21, 28, 42, 50, 100) )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"FOCUS (2014) Generic Guidance Estimating Persistence Degradation Kinetics Environmental Fate Studies Pesticides EU Registration, Version 1.1, 18 December 2014, p. 251","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"alpha Parameter FOMC model beta Parameter FOMC model times output times, window sizes time weighted average concentrations","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"","code":"FOMC_actual_twa(alpha = 1.0001, beta = 10) #> actual twa #> 0 1.00000000 NaN #> 1 0.90908224 0.9530973 #> 2 0.83331814 0.9115995 #> 4 0.71426168 0.8411664 #> 7 0.58820408 0.7580202 #> 14 0.41663019 0.6253074 #> 21 0.32254415 0.5387324 #> 28 0.26312277 0.4767543 #> 42 0.19227599 0.3925054 #> 50 0.16663681 0.3583198 #> 100 0.09088729 0.2397608"},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":null,"dir":"Reference","previous_headings":"","what":"Groundwater ubiquity score based on Gustafson (1989) — GUS","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"groundwater ubiquity score GUS calculated according following equation $$GUS = \\log_{10} DT50_{soil} (4 - \\log_{10} K_{oc})$$","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"","code":"GUS(...) # S3 method for numeric GUS(DT50, Koc, ...) # S3 method for chent GUS( chent, degradation_value = \"DT50ref\", lab_field = \"laboratory\", redox = \"aerobic\", sorption_value = \"Kfoc\", degradation_aggregator = geomean, sorption_aggregator = geomean, ... ) # S3 method for GUS_result print(x, ..., digits = 1)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"... Included generic allow arguments later. Therefore also added specific methods. DT50 Half-life chemical soil. field half-life according Gustafson (1989). However, leaching sub-soil can completely excluded field dissipation experiments Gustafson refer normalisation procedure, says field study conducted use conditions. Koc sorption constant normalised organic carbon. Gustafson mention nonlinearity sorption constant commonly found usually described Freundlich sorption, therefore unclear reference concentration Koc observed (reference concentration soil porewater). chent chent given appropriate information present chyaml field, information used, defaults specified . degradation_value available degradation values used? lab_field laboratory field half-lives used? defaults lab implementation, order avoid double-accounting mobility. comparability original GUS values given Gustafson (1989) desired, non-normalised first-order field half-lives obtained actual use conditions used. redox Aerobic anaerobic degradation data sorption_value available sorption values used? Defaults Kfoc generally available European pesticide peer review process. values generally use reference concentration 1 mg/L porewater, means expected Koc values concentration 1 mg/L water phase. degradation_aggregator Function aggregating half-lives sorption_aggregator Function aggregation Koc values x object class GUS_result printed digits number digits used print method","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"list DT50 Koc used well resulting score class GUS_result","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"Gustafson, David . (1989) Groundwater ubiquity score: simple method assessing pesticide leachability. Environmental toxicology chemistry 8(4) 339–57.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"Get relative accumulation FOMC model multiples interval","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"","code":"PEC_FOMC_accu_rel(n, interval, FOMC)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"n number applications interval Time applications FOMC Named numeric vector containing FOMC parameters alpha beta","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"numeric vector containing n accumulation factors n applications","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate predicted environmental concentrations in soil — PEC_soil","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"basic calculation contaminant concentration bulk soil based complete, instantaneous mixing. interval given, attempt made calculating long term maximum concentration using concepts layed PPR panel opinion (EFSA PPR panel 2012 EFSA guidance PEC soil calculations (EFSA, 2015, 2017).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"","code":"PEC_soil( rate, rate_units = \"g/ha\", interception = 0, mixing_depth = 5, PEC_units = \"mg/kg\", PEC_pw_units = \"mg/L\", interval = NA, n_periods = Inf, tillage_depth = 20, leaching_depth = tillage_depth, crop = \"annual\", cultivation = FALSE, chent = NA, DT50 = NA, FOMC = NA, Koc = NA, Kom = Koc/1.724, t_avg = 0, t_act = NULL, scenarios = c(\"default\", \"EFSA_2017\", \"EFSA_2015\"), leaching = scenarios == \"EFSA_2017\", porewater = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"rate Application rate units specified rate_units Defaults g/ha interception fraction application rate reach soil mixing_depth Mixing depth cm PEC_units Requested units calculated PEC. mg/kg currently supported PEC_pw_units mg/L currently supported interval Period deeper mixing. default NA, .e. deeper mixing. annual deeper mixing, set 365 degradation units days n_periods Number periods considered long term PEC calculations tillage_depth Periodic (see interval) deeper mixing cm leaching_depth EFSA (2017) uses mixing depth (ecotoxicological evaluation depth) calculate leaching annual crops tillage takes place. default, losses layer tillage depth taken account implementation. crop Ignored scenarios EFSA_2017. annual crops supported scenarios used. crops single cropping cycle per year currently supported. cultivation mechanical cultivation sense EFSA (2017) take place, .e. twice year depth 5 cm? Ignored scenarios EFSA_2017 chent optional chent object holding substance specific information. Can also name substance character string DT50 specified, overrides soil DT50 endpoints chent object DT50 specified available chent object, zero degradation assumed FOMC specified, named numeric vector containing FOMC parameters alpha beta. overrides degradation endpoints, degradation interval maximum PEC calculated using parameters without temperature correction Koc specified, overrides Koc endpoints chent object Kom Calculated Koc default, can explicitly specified Kom t_avg Averaging times time weighted average concentrations t_act Time series actual concentrations scenarios 'default', DT50 used without correction soil properties specified REACH guidance (R.16, Table R.16-9) used porewater PEC calculations. \"EFSA_2015\", DT50 taken modelling half-life 20°C pF2 ('chent' specified, DegT50 destination 'PECgw' used), corrected using Arrhenius activation energy 65.4 kJ/mol. Also model scenario adjustment factors EFSA guidance used. leaching leaching taken account? default FALSE, except EFSA_2017 scenarios used. porewater equilibrium porewater concentrations estimated based Kom organic carbon fraction soil instead total soil concentrations? Based equation (7) given PPR panel opinion (EFSA 2012, p. 24) scenarios specified EFSA guidance (2015, p. 13).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"predicted concentration soil","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"assumes complete load soil time specified 'interval' (typically 365 days) dosed . PPR panel opinion cited (EFSA PPR panel 2012), temperature correction using Arrhenius equation performed. Total soil porewater PEC values scenarios defined EFSA guidance (2017, p. 14/15) can easily calculated.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"time weighted average (TWA) concentrations given examples EFSA guidance 2015 (p. 80) reproduced, true TWA concentrations given example EFSA guidance 2017 (p. 92). According EFSA guidance (EFSA, 2017, p. 43), leaching taken account EFSA 2017 scenarios, using evaluation depth (mixing depth) depth layer leaching takes place. However, amount leaching evaluation depth (often 5 cm) partly mixed back tillage, default function use tillage depth calculation leaching rate. temperature information available selected scenarios, e.g. EFSA scenarios, DT50 groundwater modelling (destination 'PECgw') taken chent object, otherwise DT50 destination 'PECsoil'.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"EFSA Panel Plant Protection Products Residues (2012) Scientific Opinion science behind guidance scenario selection scenario parameterisation predicting environmental concentrations plant protection products soil. EFSA Journal 10(2) 2562, doi:10.2903/j.efsa.2012.2562 EFSA (European Food Safety Authority) 2017) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 15(10) 4982 doi:10.2903/j.efsa.2017.4982 EFSA (European Food Safety Authority) (2015) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 13(4) 4093 doi:10.2903/j.efsa.2015.4093","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"","code":"PEC_soil(100, interception = 0.25) #> scenario #> t_avg default #> 0 0.1 # This is example 1 starting at p. 92 of the EFSA guidance (2017) # Note that TWA concentrations differ from the ones given in the guidance # for an unknown reason (the values from EFSA (2015) can be reproduced). PEC_soil(1000, interval = 365, DT50 = 250, t_avg = c(0, 21), Kom = 1000, scenarios = \"EFSA_2017\") #> scenario #> t_avg CTN CTC CTS #> 0 19.76834 13.8619 10.53795 #> 21 19.59345 13.7169 10.39882 PEC_soil(1000, interval = 365, DT50 = 250, t_av = c(0, 21), Kom = 1000, scenarios = \"EFSA_2017\", porewater = TRUE) #> scenario #> t_avg CLN CLC CLS #> 0 0.5541984 0.6779249 0.9816693 #> 21 0.5484576 0.6693125 0.9609119 # This is example 1 starting at p. 79 of the EFSA guidance (2015) PEC_soil(1000, interval = 365, DT50 = 250, t_avg = c(0, 21), scenarios = \"EFSA_2015\") #> scenario #> t_avg CTN CTC CTS #> 0 21.96827 11.53750 9.145259 #> 21 21.78517 11.40701 9.017370 PEC_soil(1000, interval = 365, DT50 = 250, t_av = c(0, 21), Kom = 1000, scenarios = \"EFSA_2015\", porewater = TRUE) #> scenario #> t_avg CLN CLC CLS #> 0 0.7589401 0.6674322 0.9147861 #> 21 0.7506036 0.6590345 0.8987279 # The following is from example 4 starting at p. 85 of the EFSA guidance (2015) # Metabolite M2 # Calculate total and porewater soil concentrations for tier 1 scenarios # Relative molar mass is 100/300, formation fraction is 0.7 * 1 results_pfm <- PEC_soil(100/300 * 0.7 * 1 * 1000, interval = 365, DT50 = 250, t_avg = c(0, 21), scenarios = \"EFSA_2015\") results_pfm_pw <- PEC_soil(100/300 * 0.7 * 1000, interval = 365, DT50 = 250, t_av = c(0, 21), Kom = 100, scenarios = \"EFSA_2015\", porewater = TRUE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","title":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","text":"Calculate initial accumulation PEC soil set metabolites","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","text":"","code":"PEC_soil_mets(rate, mw_parent, mets, interval = 365, ...)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","text":"rate Application rate units specified mw_parent molecular weight parent compound mets dataframe metabolite identifiers rownames columns \"mw\", \"occ\" \"DT50\" holding molecular weight, maximum occurrence soil soil DT50 interval interval accumulation calculations ... arguments passed PEC_soil","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"implements method specified UK data requirements handbook checked spreadsheet published CRC website","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"","code":"PEC_sw_drainage_UK( rate, interception = 0, Koc, latest_application = NULL, soil_DT50 = NULL, model = NULL, model_parms = NULL )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"rate Application rate g/ha interception fraction application rate reach soil Koc sorption coefficient normalised organic carbon L/kg latest_application Latest application date, formatted e.g. \"01 July\" soil_DT50 Soil degradation half-life, SFO kinetics used model soil degradation model used. Either one \"FOMC\", \"DFOP\", \"HS\", \"IORE\", mkinmod object model_parms named numeric vector containing model parameters","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"predicted concentration surface water µg/L","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"HSE's Chemicals Regulation Division (CRD) Active substance PECsw calculations (UK specific authorisation requests) https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/active-substance-uk.htm accessed 2019-09-27 Drainage PECs Version 1.0 (2015) Spreadsheet published https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/pec-tools-2015/PEC%20sw-sed%20(drainage).xlsx accessed 2019-09-27","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"","code":"PEC_sw_drainage_UK(150, Koc = 100) #> [1] 8.076923"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"basic, vectorised form simple calculation contaminant concentration surface water based complete, instantaneous mixing input via spray drift.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"","code":"PEC_sw_drift( rate, applications = 1, water_depth = 30, 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_focus = c(\"arable\", \"hops\", \"vines, late\", \"vines, early\", \"fruit, late\", \"fruit, early\", \"aerial\"), distances = c(1, 5, 10, 20), formula = c(\"Rautmann\", \"FOCUS\"), water_width = 100, side_angle = 90, rate_units = \"g/ha\", PEC_units = \"µg/L\" )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"rate Application rate units specified applications Number applications selection drift percentile water_depth Depth water body cm drift_percentages Percentage drift values calculate PECsw. Overrides 'drift_data' 'distances' NULL. drift_data Source drift percentage data. 'JKI', drift_data_JKI included package used. 'RF', Rautmann drift data calculated either original form integrated width water body, depending 'formula' argument. crop_group_JKI using 'JKI' drift data, one German names used drift_parameters_focus. crop_group_focus One crop groups used drift_parameters_focus distances distances m get PEC values formula default, original Rautmann formula used. specify \"FOCUS\", mean drift input width water body calculated described Chapter 5.4.5 FOCUS surface water guidance water_width Width water body cm side_angle angle side water relative bottom assumed horizontal, degrees. SYNOPS model assumes 45 degrees . rate_units Defaults g/ha PEC_units Requested units calculated PEC. µg/L currently supported","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"predicted concentration surface water","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"","code":"PEC_sw_drift(100) #> 1 m 5 m 10 m 20 m #> 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.91976667 0.19064473 0.09680051 0.04915079 # This makes it possible to also use different distances 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.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_focus = \"aerial\") #> 1 m 3 m 5 m 6 m 10 m 20 m 50 m #> 16.8233333 11.0585820 9.0986174 8.4866460 6.9825178 4.7004640 1.8820816 #> 100 m #> 0.9417586 # 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 # The influence of assuming a 45° angle of the sides of the waterbody and the width of the # waterbody can be illustrated PEC_sw_drift(100) #> 1 m 5 m 10 m 20 m #> 0.92333333 0.19000000 0.09666667 0.05000000 PEC_sw_drift(100, drift_data = \"RF\") #> 1 m 5 m 10 m 20 m #> 0.91976667 0.19064473 0.09680051 0.04915079 PEC_sw_drift(100, drift_data = \"RF\", formula = \"FOCUS\") #> 1 m 5 m 10 m 20 m #> 0.64246407 0.17414541 0.09235842 0.04798749 PEC_sw_drift(100, drift_data = \"RF\", formula = \"FOCUS\", side_angle = 45) #> 1 m 5 m 10 m 20 m #> 0.91780582 0.24877916 0.13194060 0.06855356 PEC_sw_drift(100, drift_data = \"RF\", formula = \"FOCUS\", side_angle = 45, water_width = 200) #> 1 m 5 m 10 m 20 m #> 0.30085000 0.09468652 0.05201349 0.02758547"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"reimplementation calculation described Exposit 3.02 spreadsheet file, worksheet \"Konzept Drainage\". Although four groups compounds (\"Gefährdungsgruppen\"), one distinction made calculations, compounds low mobility (group 1) compounds modest high mobility (groups 2, 3 4). implementation, group derived Koc, given explicitly. details, see discussion function arguments .","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"","code":"PEC_sw_exposit_drainage( rate, interception = 0, Koc = NA, mobility = c(NA, \"low\", \"high\"), DT50 = Inf, t_drainage = 3, V_ditch = 30, V_drainage = c(spring = 10, autumn = 100), dilution = 2 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"rate application rate g/ha interception fraction intercepted crop Koc sorption coefficient soil organic carbon used determine mobility. trigger value 550 L/kg used order decide Koc >> 500. mobility Overrides determined Koc. DT50 soil half-life days t_drainage time application drainage event, degradation occurs, days V_ditch volume ditch assumed 1 m * 100 m * 30 cm = 30 m3 V_drainage drainage volume, equivalent 1 mm precipitation 1 ha spring/summer 10 mm autumn/winter/early spring. dilution dilution factor","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"list containing following components perc_runoff runoff percentages dissolved bound substance runoff matrix containing dissolved bound input different distances PEC_sw_runoff matrix containing PEC values dissolved bound substance different distances. rate given g/ha, PECsw microg/L.","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"","code":"PEC_sw_exposit_drainage(500, Koc = 150) #> $perc_drainage_total #> spring autumn #> 0.2 1.0 #> #> $perc_peak #> spring autumn #> 12.5 25.0 #> #> $PEC_sw_drainage #> spring autumn #> 1.562500 4.807692 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"reimplementation calculation described Exposit 3.02 spreadsheet file, worksheet \"Konzept Runoff\".","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"","code":"PEC_sw_exposit_runoff( rate, interception = 0, Koc, DT50 = Inf, t_runoff = 3, exposit_reduction_version = c(\"3.02\", \"3.01a\", \"3.01a2\", \"2.0\"), V_ditch = 30, V_event = 100, dilution = 2 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"rate application rate g/ha interception fraction intercepted crop Koc sorption coefficient soil organic carbon DT50 soil half-life days t_runoff time application runoff event, degradation occurs, days exposit_reduction_version version reduction factors used. \"3.02\" current version used Germany, \"3.01a\" version additional percentages 3 m 6 m buffer zones used Switzerland. \"3.01a2\" version introduced consistency previous calculations performed 3 m buffer zone Switzerland, reduction applied dissolved bound fraction. V_ditch volume ditch assumed 1 m * 100 m * 30 cm = 30 m3 V_event unreduced runoff volume, equivalent 10 mm precipitation 1 ha dilution dilution factor","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"list containing following components perc_runoff runoff percentages dissolved bound substance runoff matrix containing dissolved bound input different distances PEC_sw_runoff matrix containing PEC values dissolved bound substance different distances. rate given g/ha, PECsw microg/L.","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"","code":"PEC_sw_exposit_runoff(500, Koc = 150) #> $perc_runoff #> dissolved bound #> 0.248 0.001 #> #> $runoff #> dissolved bound total #> No buffer 1.240 0.00500 1.24500 #> 5 m 0.744 0.00300 0.74700 #> 10 m 0.496 0.00075 0.49675 #> 20 m 0.248 0.00025 0.24825 #> #> $PEC_sw_runoff #> dissolved bound total #> No buffer 4.769231 0.019230769 4.788462 #> 5 m 4.133333 0.016666667 4.150000 #> 10 m 3.542857 0.005357143 3.548214 #> 20 m 2.480000 0.002500000 2.482500 #> PEC_sw_exposit_runoff(600, Koc = 10000, DT50 = 195, exposit = \"3.01a\") #> $perc_runoff #> dissolved bound #> 0.037 0.159 #> #> $runoff #> dissolved bound total #> No buffer 0.21964521 0.94388078 1.16352600 #> 3 m 0.16473391 0.66071655 0.82545046 #> 5 m 0.13178713 0.56632847 0.69811560 #> 6 m 0.12080487 0.42474635 0.54555122 #> 10 m 0.08785809 0.14158212 0.22944020 #> 20 m 0.04392904 0.04719404 0.09112308 #> #> $PEC_sw_runoff #> dissolved bound total #> No buffer 0.8447893 3.6303107 4.4751000 #> 3 m 0.7844472 3.1462693 3.9307165 #> 5 m 0.7321507 3.1462693 3.8784200 #> 6 m 0.7106169 2.4985080 3.2091248 #> 10 m 0.6275578 1.0113008 1.6388586 #> 20 m 0.4392904 0.4719404 0.9112308 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"reimplementation FOCUS Step 1 2 calculator version 3.2, authored Michael Klein, R. Note results multiple applications compared corresponding results single application. current, done automatically implementation. Step 1 PECs calculated. However, input files can generated suitable input FOCUS calculator.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"","code":"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 = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"parent list containing substance specific parameters, e.g. conveniently generated chent_focus_sw. rate application rate g/ha. Overriden applications given explicitly n number applications application interval comment comment input file met list containing metabolite specific parameters. e.g. conveniently generated chent_focus_sw. NULL, PEC calculated compound, parent. f_drift fraction application rate reaching waterbody via drift. NA, derived scenario name number applications via drift data defined FOCUS_Step_12_scenarios f_rd fraction amount applied reaching waterbody via runoff/drainage. Step 1, assumed 10%, parent metabolite scenario name scenario. Must one scenario names given FOCUS_Step_12_scenarios region 'n' Northern Europe 's' Southern Europe. NA, Step 1 PECsw calculated season '' October February, 'mm' March May, 'js' June September. NA, step 1 PECsw calculated interception One 'interception' (default), 'minimal crop cover', 'average crop cover' 'full canopy' met_form_water metabolite formation water taken account? can switched check influence compare previous versions Steps 12 calculator txt_file name, potentially full path Steps.12 input text file specification run(s) written overwrite existing file location specified txt_file overwritten? takes effect append FALSE. append input text file appended, exists?","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"formulas input waterbody via runoff/drainage parent subsequent formation metabolite water documented model description coming calculator. one expect, appears (get results) calculated multiplying application rate molar weight correction formation fraction water/sediment systems. Step 2 implemented.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"FOCUS (2014) Generic guidance Surface Water Scenarios (version 1.4). FOrum Co-ordination pesticde fate models USe. http://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/Generic%20FOCUS_SWS_vc1.4.pdf Website Steps 1 2 calculator Joint Research Center European Union: http://esdac.jrc.ec.europa.eu/projects/stepsonetwo","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"","code":"# Parent only dummy_1 <- chent_focus_sw(\"Dummy 1\", cwsat = 6000, DT50_ws = 6, Koc = 344.8) PEC_sw_focus(dummy_1, 3000, f_drift = 0) #> $f_drift #> [1] 0 #> #> $eq_rate_drift_s #> [1] 3000 #> #> $eq_rate_rd_s #> [1] 3000 #> #> $eq_rate_rd_parent_s #> [1] NA #> #> $input_drift_s #> [1] 0 #> #> $input_rd_s #> [1] 300 #> #> $f_rd_sw #> [1] 0.6850566 #> #> $f_rd_sed #> [1] 0.3149434 #> #> $PEC #> type #> Time PECsw TWAECsw PECsed TWAECsed #> 0 6.850566e+02 NA 2.362075e+03 NA #> 1 6.103161e+02 647.68635 2.104370e+03 2233.2225 #> 2 5.437298e+02 612.03420 1.874780e+03 2110.2939 #> 4 4.315586e+02 548.76030 1.488014e+03 1892.1255 #> 7 3.051580e+02 469.88375 1.052185e+03 1620.1592 #> 14 1.359325e+02 339.57370 4.686951e+02 1170.8501 #> 21 6.055102e+01 257.45458 2.087799e+02 887.7034 #> 28 2.697241e+01 203.47173 9.300089e+01 701.5705 #> 42 5.352005e+00 140.10377 1.845371e+01 483.0778 #> 50 2.123945e+00 118.24602 7.323361e+00 407.7123 #> 100 6.585062e-03 59.30629 2.270529e-02 204.4881 #> #> $PEC_sw_max #> [1] 685.0566 #> #> $PEC_sed_max #> [1] 2362.075 #> # Metabolite new_dummy <- chent_focus_sw(\"New Dummy\", mw = 250, Koc = 100) M1 <- chent_focus_sw(\"M1\", mw = 100, cwsat = 100, DT50_ws = 100, Koc = 50, max_ws = 0, max_soil = 0.5) PEC_sw_focus(new_dummy, 1000, scenario = \"cereals, winter\", met = M1) #> $f_drift #> [1] 0.02759 #> #> $eq_rate_drift_s #> [1] 0 #> #> $eq_rate_rd_s #> [1] 200 #> #> $eq_rate_rd_parent_s #> [1] 0 #> #> $input_drift_s #> [1] 0 #> #> $input_rd_s #> [1] 20 #> #> $f_rd_sw #> [1] 0.9375 #> #> $f_rd_sed #> [1] 0.0625 #> #> $PEC #> type #> Time PECsw TWAECsw PECsed TWAECsed #> 0 62.50000 NA 31.25000 NA #> 1 62.06828 62.28414 31.03414 31.14207 #> 2 61.63954 62.06890 30.81977 31.03445 #> 4 60.79093 61.64158 30.39547 30.82079 #> 7 59.53987 61.00800 29.76994 30.50400 #> 14 56.71995 59.56326 28.35997 29.78163 #> 21 54.03358 58.16414 27.01679 29.08207 #> 28 51.47444 56.80902 25.73722 28.40451 #> 42 46.71404 54.22460 23.35702 27.11230 #> 50 44.19417 52.81945 22.09709 26.40973 #> 100 31.25000 45.08422 15.62500 22.54211 #> #> $PEC_sw_max #> [1] 62.5 #> #> $PEC_sed_max #> [1] 31.25 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate predicted environmental concentrations in sediment from surface\nwater concentrations — PEC_sw_sed","title":"Calculate predicted environmental concentrations in sediment from surface\nwater concentrations — PEC_sw_sed","text":"method 'percentage' equivalent used CRD spreadsheet PEC calculator","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate predicted environmental concentrations in sediment from surface\nwater concentrations — PEC_sw_sed","text":"","code":"PEC_sw_sed( PEC_sw, percentage = 100, method = \"percentage\", sediment_depth = 5, water_depth = 30, sediment_density = 1.3, PEC_sed_units = c(\"µg/kg\", \"mg/kg\") )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate predicted environmental concentrations in sediment from surface\nwater concentrations — PEC_sw_sed","text":"PEC_sw Numeric vector matrix surface water concentrations µg/L corresponding sediment concentration estimated percentage percentage sediment, used percentage method method method used calculation sediment_depth Depth sediment layer water_depth Depth water body cm sediment_density density sediment L/kg (equivalent g/cm3) PEC_sed_units units estimated sediment PEC value","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate predicted environmental concentrations in sediment from surface\nwater concentrations — PEC_sw_sed","text":"predicted concentration sediment","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate predicted environmental concentrations in sediment from surface\nwater concentrations — PEC_sw_sed","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate predicted environmental concentrations in sediment from surface\nwater concentrations — PEC_sw_sed","text":"","code":"PEC_sw_sed(PEC_sw_drift(100, distances = 1), percentage = 50) #> 1 m #> 2.130769"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":null,"dir":"Reference","previous_headings":"","what":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"Actual maximum moving window time average concentrations SFO kinetics","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"","code":"SFO_actual_twa(DT50 = 1000, times = c(0, 1, 2, 4, 7, 14, 21, 28, 42, 50, 100))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"FOCUS (2014) Generic Guidance Estimating Persistence Degradation Kinetics Environmental Fate Studies Pesticides EU Registration, Version 1.1, 18 December 2014, p. 251","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"DT50 half-life. times output times, window sizes time weighted average concentrations","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"","code":"SFO_actual_twa(10) #> actual twa #> 0 1.0000000000 NaN #> 1 0.9330329915 0.9661297 #> 2 0.8705505633 0.9337803 #> 4 0.7578582833 0.8733416 #> 7 0.6155722067 0.7923030 #> 14 0.3789291416 0.6400113 #> 21 0.2332582479 0.5267498 #> 28 0.1435872944 0.4412651 #> 42 0.0544094102 0.3248093 #> 50 0.0312500000 0.2795222 #> 100 0.0009765625 0.1441286"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":null,"dir":"Reference","previous_headings":"","what":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"implements method specified UK data requirements handbook checked spreadsheet published CRD website","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"","code":"SSLRC_mobility_classification(Koc)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"Koc sorption coefficient normalised organic carbon L/kg","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"list containing classification percentage compound transported per 10 mm drain water","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"HSE's Chemicals Regulation Division (CRD) Active substance PECsw calculations (UK specific authorisation requests) https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/active-substance-uk.htm accessed 2019-09-27 Drainage PECs Version 1.0 (2015) Spreadsheet published https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/pec-tools-2015/PEC%20sw-sed%20(drainage).xlsx accessed 2019-09-27","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"","code":"SSLRC_mobility_classification(100) #> $`Mobility classification` #> [1] \"Moderately mobile\" #> #> $`Percentage drained per mm of drain water` #> [1] 0.7 #> SSLRC_mobility_classification(10000) #> $`Mobility classification` #> [1] \"Non mobile\" #> #> $`Percentage drained per mm of drain water` #> [1] 0.008 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"R6 class holding TOXSWA water concentration (cwa) data associated statistics. like maximum moving window average concentrations, dataframes holding events exceeding specified thresholds. Usually, instance class generated read.TOXSWA_cwa.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"R6Class generator object.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"public-fields","dir":"Reference","previous_headings":"","what":"Public fields","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"filename Length one character vector holding filename. basedir Length one character vector holding directory file came . zipfile null, giving path zip file file read. segment Length one integer, specifying segment cwa data read. substance TOXSWA name substance. cwas Dataframe holding concentrations. events List dataframes holding event statistics threshold. windows Matrix maximum time weighted average concentrations (TWAC_max) areas curve µg/day * h (AUC_max_h) µg/day * d (AUC_max_d) requested moving window sizes days.","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"TOXSWA_cwa$new() TOXSWA_cwa$moving_windows() TOXSWA_cwa$get_events() TOXSWA_cwa$print() TOXSWA_cwa$clone()","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Create TOXSWA_cwa object file","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$new( filename, basedir, zipfile = NULL, segment = \"last\", substance = \"parent\", total = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"filename filename basedir directory look zipfile Optional path zipfile holding file segment Either \"last\" number segment read data substance TOXSWA substance name (TOXSWA 4 higher) total total concentrations read ? FALSE, free concentrations read","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-moving-windows-","dir":"Reference","previous_headings":"","what":"Method moving_windows()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Add windows field described .","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$moving_windows(windows, total = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"windows Window sizes days total TRUE, total concentration including amount adsorbed suspended matter used.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-get-events-","dir":"Reference","previous_headings":"","what":"Method get_events()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Populate datataframe event information specified threshold value. resulting dataframe stored events field object.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$get_events(thresholds, total = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"thresholds Threshold values µg/L. total TRUE, total concentration including amount adsorbed suspended matter used.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Print TOXSWA_cwa object","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$print()"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"objects class cloneable method.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$clone(deep = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"deep Whether make deep clone.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"H_sw_R1_stream <- read.TOXSWA_cwa(\"00003s_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\")) H_sw_R1_stream$get_events(c(2, 10)) H_sw_R1_stream$moving_windows(c(7, 21)) print(H_sw_R1_stream) #> <TOXSWA_cwa> data from file 00003s_pa.cwa segment 20 #> datetime t t_firstjan t_rel_to_max cwa_mug_per_L #> 20 1978-10-01 00:00:00 0.000 273.0000 -55.333 0 #> 40 1978-10-01 01:00:00 0.042 273.0417 -55.291 0 #> 60 1978-10-01 02:00:00 0.083 273.0833 -55.250 0 #> 80 1978-10-01 03:00:00 0.125 273.1250 -55.208 0 #> 100 1978-10-01 04:00:00 0.167 273.1667 -55.166 0 #> 120 1978-10-01 05:00:00 0.208 273.2083 -55.125 0 #> cwa_tot_mug_per_L #> 20 0 #> 40 0 #> 60 0 #> 80 0 #> 100 0 #> 120 0 #> Moving window analysis #> window max_TWAC max_AUC_h max_AUC_d #> 1 7 days 2.3926551 401.9660 16.74859 #> 2 21 days 0.8369248 421.8101 17.57542 #> Event statistics for threshold 2 #> t_start cwa_max duration pre_interval AUC_h AUC_d #> 1 44.375 4.167238 0.208 44.375 17.77202 0.740501 #> 2 55.042 40.584010 0.583 10.459 398.21189 16.592162 #> Event statistics for threshold 10 #> t_start cwa_max duration pre_interval AUC_h AUC_d #> 1 55.083 40.58401 0.459 55.083 379.433 15.80971"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":null,"dir":"Reference","previous_headings":"","what":"Estimation of the transpiration stream concentration factor — TSCF","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"FOCUS groundwater guidance (FOCUS 2014, p. 41) states reliable measured log Kow neutral pH must available order apply Briggs equation. clarified can regarded reliable, equation stated produced non-ionic compounds, suggesting compound ionogenic (weak acid/base) ionic.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"","code":"TSCF(log_Kow, method = c(\"briggs82\", \"dettenmaier09\"))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"log_Kow decadic logarithm octanol-water partition constant method Short name estimation method.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"Dettenmaier equation given show views subject exist.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"FOCUS (2014) Generic Guidance Tier 1 FOCUS Ground Water Assessments. Version 2.2, May 2014 Dettenmaier EM, Doucette WJ Bugbee B (2009) Chemical hydrophobicity uptake plant roots. Environ. Sci. Technol 43, 324 - 329","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"","code":"plot(TSCF, -1, 5, xlab = \"log Kow\", ylab = \"TSCF\", ylim = c(0, 1.1)) TSCF_2 <- function(x) TSCF(x, method = \"dettenmaier09\") curve(TSCF_2, -1, 5, add = TRUE, lty = 2) legend(\"topright\", lty = 1:2, bty = \"n\", legend = c(\"Briggs et al. (1982)\", \"Dettenmaier et al. (2009)\"))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"Create chemical compound object FOCUS Step 1 calculations","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"","code":"chent_focus_sw( name, Koc, DT50_ws = NA, DT50_soil = NA, DT50_water = NA, DT50_sediment = NA, cwsat = 1000, mw = NA, max_soil = 1, max_ws = 1 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"name Length one character vector containing name Koc Partition coefficient organic carbon water L/kg. DT50_ws Half-life water/sediment systems days DT50_soil Half-life soil days DT50_water Half-life water days (Step 2) DT50_sediment Half-life sediment days (Step 2) cwsat Water solubility mg/L mw Molar weight g/mol. max_soil Maximum observed fraction (dimensionless) soil max_ws Maximum observed fraction (dimensionless) water/sediment systems","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"list substance specific properties","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":null,"dir":"Reference","previous_headings":"","what":"Deposition from spray drift expressed as percent of the applied dose as\npublished by the JKI — drift_data_JKI","title":"Deposition from spray drift expressed as percent of the applied dose as\npublished by the JKI — drift_data_JKI","text":"Deposition spray drift expressed percent applied dose published German Julius-Kühn Institute (JKI).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Deposition from spray drift expressed as percent of the applied dose as\npublished by the JKI — drift_data_JKI","text":"","code":"drift_data_JKI"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Deposition from spray drift expressed as percent of the applied dose as\npublished by the JKI — drift_data_JKI","text":"list currently containing matrices spray drift percentage data field crops (Ackerbau), Pome/stone fruit, early late (Obstbau frueh, spaet).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Deposition from spray drift expressed as percent of the applied dose as\npublished by the JKI — drift_data_JKI","text":"JKI (2010) Spreadsheet 'Tabelle der Abdrifteckwerte.xls', retrieved http://www.jki.bund.de/no_cache/de/startseite/institute/anwendungstechnik/abdrift-eckwerte.html 2015-06-11, present 2024-01-31 Rautmann, D., Streloke, M Winkler, R (2001) New basic drift values authorization procedure plant protection products Mitt. Biol. Bundesanst. Land- Forstwirtsch. 383, 133-141","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Deposition from spray drift expressed as percent of the applied dose as\npublished by the JKI — drift_data_JKI","text":"data extracted spreadsheet cited using R code given file data_generation/drift_data_JKI.R installed package. file included package, licence clear. Additional spray drift values taken publication Rautmann et al. (2001). Specifically, values early vines, values 3 m buffer incomplete spreadsheet. Note vegetables, ornamentals small fruit, values field crops used crops < 50 cm, vales late vines used crops > 50 cm. JKI spreadsheet, indicated values used spray applications handheld/knapsack equipment (tragbare Spritz- und Sprühgerate). Values non-professional use listed JKI spreadsheet included.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Deposition from spray drift expressed as percent of the applied dose as\npublished by the JKI — drift_data_JKI","text":"","code":"drift_data_JKI #> [[1]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 2.77 NA NA NA NA #> 3 0.95 29.20 15.73 2.70 8.02 #> 5 0.57 19.89 8.41 1.18 3.62 #> 10 0.29 11.81 3.60 0.39 1.23 #> 15 0.20 5.55 1.81 0.20 0.65 #> 20 0.15 2.77 1.09 0.13 0.42 #> 30 0.10 1.04 0.54 0.07 0.22 #> 40 0.07 0.52 0.32 0.04 0.14 #> 50 0.06 0.30 0.22 0.03 0.10 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 4.440 NA #> 3 19.33 NA 0.018721696 #> 5 11.57 0.180 0.014363896 #> 10 5.77 0.050 0.010026007 #> 15 3.84 0.020 0.008124366 #> 20 1.79 0.012 0.006998158 #> 30 0.56 0.005 0.005670811 #> 40 0.25 0.003 NA #> 50 0.13 0.002 0.004350831 #> #> [[2]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 2.38 NA NA NA NA #> 3 0.79 25.53 12.13 2.53 7.23 #> 5 0.47 16.87 6.81 1.09 3.22 #> 10 0.24 9.61 3.11 0.35 1.07 #> 15 0.16 5.61 1.58 0.18 0.56 #> 20 0.12 2.59 0.90 0.11 0.36 #> 30 0.08 0.87 0.40 0.06 0.19 #> 40 0.06 0.40 0.23 0.03 0.12 #> 50 0.05 0.22 0.15 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 3.780 NA #> 3 17.73 NA NA #> 5 9.60 0.160 NA #> 10 4.18 0.040 NA #> 15 2.57 0.020 NA #> 20 1.21 0.011 NA #> 30 0.38 0.005 NA #> 40 0.17 0.003 NA #> 50 0.09 0.002 NA #> #> [[3]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 2.01 NA NA NA NA #> 3 0.68 23.96 11.01 2.49 6.90 #> 5 0.41 15.79 6.04 1.04 3.07 #> 10 0.20 8.96 2.67 0.32 1.02 #> 15 0.14 4.24 1.39 0.16 0.54 #> 20 0.10 2.01 0.80 0.10 0.34 #> 30 0.07 0.70 0.36 0.05 0.18 #> 40 0.05 0.33 0.21 0.03 0.11 #> 50 0.04 0.19 0.13 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 3.420 NA #> 3 15.93 NA NA #> 5 8.57 0.150 NA #> 10 3.70 0.040 NA #> 15 2.26 0.020 NA #> 20 1.05 0.010 NA #> 30 0.34 0.004 NA #> 40 0.15 0.003 NA #> 50 0.08 0.002 NA #> #> [[4]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.85 NA NA NA NA #> 3 0.62 23.61 10.12 2.44 6.71 #> 5 0.38 15.42 5.60 1.02 2.99 #> 10 0.19 8.66 2.50 0.31 0.99 #> 15 0.13 4.01 1.28 0.16 0.52 #> 20 0.10 1.89 0.75 0.10 0.33 #> 30 0.06 0.66 0.35 0.05 0.17 #> 40 0.05 0.31 0.20 0.03 0.11 #> 50 0.04 0.17 0.13 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 2.290 NA #> 3 15.38 NA NA #> 5 8.26 0.120 NA #> 10 3.55 0.030 NA #> 15 2.17 0.020 NA #> 20 0.93 0.009 NA #> 30 0.31 0.004 NA #> 40 0.14 0.002 NA #> 50 0.08 0.002 NA #> #> [[5]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.75 NA NA NA NA #> 3 0.59 23.12 9.74 2.37 6.59 #> 5 0.36 15.06 5.41 1.00 2.93 #> 10 0.18 8.42 2.43 0.31 0.98 #> 15 0.12 3.83 1.24 0.15 0.51 #> 20 0.09 1.81 0.72 0.09 0.33 #> 30 0.06 0.63 0.34 0.05 0.17 #> 40 0.05 0.30 0.20 0.03 0.11 #> 50 0.04 0.17 0.13 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 2.120 NA #> 3 15.12 NA NA #> 5 7.99 0.110 NA #> 10 3.36 0.030 NA #> 15 2.03 0.010 NA #> 20 0.88 0.008 NA #> 30 0.29 0.004 NA #> 40 0.14 0.002 NA #> 50 0.07 0.002 NA #> #> [[6]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.64 NA NA NA NA #> 3 0.56 22.76 9.21 2.29 6.41 #> 5 0.34 14.64 5.18 0.97 2.85 #> 10 0.17 8.04 2.38 0.30 0.95 #> 15 0.11 3.71 1.20 0.15 0.50 #> 20 0.09 1.75 0.68 0.09 0.32 #> 30 0.06 0.61 0.31 0.05 0.17 #> 40 0.04 0.29 0.17 0.03 0.11 #> 50 0.03 0.16 0.11 0.02 0.07 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 1.980 NA #> 3 14.90 NA NA #> 5 7.79 0.100 NA #> 10 3.23 0.030 NA #> 15 1.93 0.010 NA #> 20 0.83 0.008 NA #> 30 0.28 0.004 NA #> 40 0.13 0.002 NA #> 50 0.07 0.001 NA #> #> [[7]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.61 NA NA NA NA #> 3 0.55 22.69 9.10 2.24 6.33 #> 5 0.33 14.45 5.11 0.94 2.81 #> 10 0.17 7.83 2.33 0.29 0.94 #> 15 0.11 3.62 1.20 0.15 0.49 #> 20 0.08 1.71 0.67 0.09 0.31 #> 30 0.06 0.60 0.30 0.05 0.16 #> 40 0.04 0.28 0.17 0.03 0.10 #> 50 0.03 0.16 0.11 0.02 0.07 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 1.930 NA #> 3 14.63 NA NA #> 5 7.60 0.100 NA #> 10 3.13 0.030 NA #> 15 1.86 0.010 NA #> 20 0.81 0.008 NA #> 30 0.26 0.004 NA #> 40 0.12 0.002 NA #> 50 0.06 0.001 NA #> #> [[8]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.52 NA NA NA NA #> 3 0.52 22.24 8.66 2.16 6.26 #> 5 0.31 14.09 4.92 0.91 2.78 #> 10 0.16 7.58 2.29 0.28 0.93 #> 15 0.11 3.48 1.14 0.14 0.49 #> 20 0.08 1.65 0.65 0.09 0.31 #> 30 0.05 0.57 0.29 0.04 0.16 #> 40 0.04 0.27 0.16 0.03 0.10 #> 50 0.03 0.15 0.11 0.02 0.07 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 1.640 NA #> 3 13.53 NA NA #> 5 7.15 0.090 NA #> 10 3.01 0.020 NA #> 15 1.82 0.010 NA #> 20 0.78 0.007 NA #> 30 0.25 0.003 NA #> 40 0.12 0.002 NA #> 50 0.06 0.001 NA #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":null,"dir":"Reference","previous_headings":"","what":"Regression parameters for the Rautmann drift data — drift_parameters_focus","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"parameters extracted Appendix B FOCUS surface water guidance using R code given file data_generation/drift_parameters_focus.R installed package. appendix included package, licence clear.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"","code":"drift_parameters_focus"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"tibble::tibble.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"hinge distance, Inf substituted cases hinge distance given data, way parameters C D never used distance B used case distance smaller hinge distance.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"FOCUS (2014) Generic guidance Surface Water Scenarios (version 1.4). FOrum Co-ordination pesticde fate models USe. http://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/Generic%20FOCUS_SWS_vc1.4.pdf FOCUS (2001) FOCUS Surface Water Scenarios EU Evaluation Process 91/414/EEC. Report FOCUS Working Group Surface Water Scenarios, EC Document Reference SANCO/4802/2001-rev.2. 245, Appendix B. https://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/FOCUS_SWS_APPENDIX_B.doc Rautmann, D., Streloke, M Winkler, R (2001) New basic drift values authorization procedure plant protection products Mitt. Biol. Bundesanst. Land- Forstwirtsch. 383, 133-141","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"","code":"drift_parameters_focus #> # A tibble: 49 × 8 #> crop_group n_apps percentile A B C D hinge #> <chr> <int> <int> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 arable 1 90 2.76 -0.978 NA NA Inf #> 2 arable 2 82 2.44 -1.01 NA NA Inf #> 3 arable 3 77 2.02 -0.996 NA NA Inf #> 4 arable 4 74 1.86 -0.986 NA NA Inf #> 5 arable 5 72 1.79 -0.994 NA NA Inf #> 6 arable 6 70 1.63 -0.986 NA NA Inf #> 7 arable 7 69 1.58 -0.981 NA NA Inf #> 8 arable 8 67 1.51 -0.983 NA NA Inf #> 9 hops 1 90 58.2 -1.00 8655. -2.84 15.3 #> 10 hops 2 82 66.2 -1.20 5555. -2.82 15.3 #> # ℹ 39 more rows unique(drift_parameters_focus$crop_group) #> [1] \"arable\" \"hops\" \"vines, late\" \"vines, early\" \"fruit, late\" #> [6] \"fruit, early\" \"aerial\""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"Calculate drift percentages based Rautmann data","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"","code":"drift_percentages_rautmann( distances, applications = 1, crop_group_focus = c(\"arable\", \"hops\", \"vines, late\", \"vines, early\", \"fruit, late\", \"fruit, early\", \"aerial\"), formula = c(\"Rautmann\", \"FOCUS\"), widths = 1 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"distances distances m get PEC values applications Number applications selection drift percentile crop_group_focus One crop groups used drift_parameters_focus formula default, original Rautmann formula used. specify \"FOCUS\", mean drift input width water body calculated described Chapter 5.4.5 FOCUS surface water guidance widths widths water bodies (used FOCUS formula)","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"FOCUS (2014) Generic guidance Surface Water Scenarios (version 1.4). FOrum Co-ordination pesticde fate models USe. http://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/Generic%20FOCUS_SWS_vc1.4.pdf","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"","code":"# Compare JKI data with Rautmann formula # One application on field crops, for 1 m, 3 m and 5 m distance drift_data_JKI[[1]][as.character(c(1, 3, 5)), \"Ackerbau\"] #> 1 3 5 #> 2.77 0.95 0.57 drift_percentages_rautmann(c(1, 3, 5)) #> [1] 2.7593000 0.9424748 0.5719342 drift_percentages_rautmann(c(1, 3, 5), formula = \"FOCUS\") #> [1] 1.9273922 0.8160023 0.5224362 # 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 #> 29.20 19.89 2.77 0.30 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, early\") #> [1] 29.1973659 19.8844422 2.7618138 0.3012008 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, early\", formula = \"FOCUS\") #> [1] 26.1193421 18.5428680 2.6038558 0.2940792 drift_data_JKI[[1]][as.character(c(3, 5, 20, 50)), \"Obstbau spaet\"] #> 3 5 20 50 #> 15.73 8.41 1.09 0.22 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, late\") #> [1] 15.7246994 8.4108487 1.0813887 0.2155992 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, late\", formula = \"FOCUS\") #> [1] 13.1414350 7.5123244 1.0359007 0.2118734 # We get a continuum if the waterbody covers the hinge distance # (11.4 m for 1 early app to fruit) x <- seq(3, 30, by = 0.1) d <- drift_percentages_rautmann(x, crop_group = \"fruit, early\", formula = \"FOCUS\") plot(x, d, type = \"l\", xlab = \"Distance of near edge [m]\", ylab = \"Mean drift percentage over waterbody width\", main = \"One application to fruit, early\") abline(v = 11.4, lty = 2)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"R6 class objects class chent represent chemical entities can hold list information loaded chemical yaml file chyaml field. information extracted optionally aggregated function.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"","code":"endpoint( chent, medium = \"soil\", type = c(\"degradation\", \"sorption\"), lab_field = c(NA, \"laboratory\", \"field\"), redox = c(NA, \"aerobic\", \"anaerobic\"), value = c(\"DT50ref\", \"Kfoc\", \"N\"), aggregator = geomean, raw = FALSE, signif = 3 ) soil_DT50( chent, aggregator = geomean, signif = 3, lab_field = \"laboratory\", value = \"DT50ref\", redox = \"aerobic\", raw = FALSE ) soil_Kfoc(chent, aggregator = geomean, signif = 3, value = \"Kfoc\", raw = FALSE) soil_N(chent, aggregator = mean, signif = 3, raw = FALSE) soil_sorption( chent, values = c(\"Kfoc\", \"N\"), aggregators = c(Kfoc = geomean, Koc = geomean, N = mean), signif = c(Kfoc = 3, N = 3), raw = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"chent chent object get information medium medium information sought type information type lab_field NA, want laboratory field endpoints redox NA, looking aerobic anaerobic data value name value want. list given usage section exclusive aggregator aggregator function. Can mean, geomean, identity, example. raw number(s) returned stored chent object (character value) retain original information precision? signif many significant digits want values values returned aggregators named vector aggregator functions used","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"result applying aggregator function values converted numeric vector, rounded given number significant digits, , raw = TRUE, values character value, retaining implicit information precision may present.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"functions soil_* functions extract soil specific endpoints. Freundlich exponent, capital letter N used order facilitate dealing data R. pesticide fate modelling, exponent often called 1/n.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate the geometric mean — geomean","title":"Calculate the geometric mean — geomean","text":"Based posts thread Stackoverflow http://stackoverflow.com/questions/2602583/geometric-mean----built-function returns NA NA values present na.rm = FALSE (default). negative values present, gives error message. least one element vector 0, returns 0.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate the geometric mean — geomean","text":"","code":"geomean(x, na.rm = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate the geometric mean — geomean","text":"x Vector numbers na.rm NA values omitted?","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate the geometric mean — geomean","text":"geometric mean","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate the geometric mean — geomean","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate the geometric mean — geomean","text":"","code":"geomean(c(1, 3, 9)) #> [1] 3 geomean(c(1, 3, NA, 9)) #> [1] NA geomean(c(1, -3, 9)) # returns an error #> Error in geomean(c(1, -3, 9)): Only defined for positive numbers"},{"path":"https://pkgdown.jrwb.de/pfm/reference/get_vertex.html","id":null,"dir":"Reference","previous_headings":"","what":"Fit a parabola through three points — get_vertex","title":"Fit a parabola through three points — get_vertex","text":"inspired answer stackoverflow https://stackoverflow.com//717791","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/get_vertex.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Fit a parabola through three points — get_vertex","text":"","code":"get_vertex(x, y)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/get_vertex.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Fit a parabola through three points — get_vertex","text":"x Three x coordinates y Three y coordinates","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":null,"dir":"Reference","previous_headings":"","what":"The maximum time weighted average concentration for a moving window — max_twa","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"generate time series using sawtooth, need make sure length time series allows finding maximum. therefore recommended check using plot.one_box using window size argument max_twa.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"","code":"max_twa(x, window = 21)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"x object type one_box window size moving window","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"method working directly fitted mkinfit objects uses equations given PEC soil section FOCUS guidance restricted SFO, FOMC DFOP models parent compound","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"FOCUS (2006) “Guidance Document Estimating Persistence Degradation Kinetics Environmental Fate Studies Pesticides EU Registration” Report FOCUS Work Group Degradation Kinetics, EC Document Reference Sanco/10058/2005 version 2.0, 434 pp, http://esdac.jrc.ec.europa.eu/projects/degradation-kinetics","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"","code":"pred <- sawtooth(one_box(10), applications = data.frame(time = c(0, 7), amount = c(1, 1))) max_twa(pred) #> $max #> parent #> 0.9537545 #> #> $window_start #> parent #> 0 #> #> $window_end #> parent #> 21 #> pred_FOMC <- mkinfit(\"FOMC\", FOCUS_2006_C, quiet = TRUE) max_twa(pred_FOMC) #> 21 #> 18.22124"},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a time series of decline data — one_box","title":"Create a time series of decline data — one_box","text":"Create time series decline data","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a time series of decline data — one_box","text":"","code":"one_box(x, ini, ..., t_end = 100, res = 0.01) # S3 method for numeric one_box(x, ini = 1, ..., t_end = 100, res = 0.01) # S3 method for character one_box(x, ini = 1, parms, ..., t_end = 100, res = 0.01) # S3 method for mkinfit one_box(x, ini = \"model\", ..., t_end = 100, res = 0.01)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a time series of decline data — one_box","text":"x numeric, half-life used exponential decline. character string specifying parent decline model given e.g. FOMC, parms must contain corresponding parameters. x mkinfit object, decline calculated object. ini initial amount. x mkinfit object, ini 'model', fitted initial concentrations used. Otherwise, ini must numeric. length one, used parent initial values metabolites zero, otherwise, must give values observed variables. ... arguments passed methods t_end End time series res Resolution time series parms named numeric vector containing model parameters","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a time series of decline data — one_box","text":"object class one_box, inheriting ts.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a time series of decline data — one_box","text":"","code":"# Only use a half-life pred_0 <- one_box(10) plot(pred_0) # Use a fitted mkinfit model require(mkin) fit <- mkinfit(\"FOMC\", FOCUS_2006_C, quiet = TRUE) pred_1 <- one_box(fit) plot(pred_1) # Use a model with more than one observed variable m_2 <- mkinmod(parent = mkinsub(\"SFO\", \"m1\"), m1 = mkinsub(\"SFO\")) #> Temporary DLL for differentials generated and loaded fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) #> Warning: Observations with value of zero were removed from the data pred_2 <- one_box(fit_2, ini = \"model\") plot(pred_2)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":null,"dir":"Reference","previous_headings":"","what":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"table loss percentages used Exposit 3 twelve different Koc classes","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"","code":"perc_runoff_exposit"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"data frame percentage values dissolved fraction fraction bound eroding particles, Koc classes used row names Koc_lower_bound lower bound Koc class dissolved percentage applied substance transferred adjacent water body dissolved phase bound percentage applied substance transferred adjacent water body bound eroding particles","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"","code":"print(perc_runoff_exposit) #> Koc_lower_bound dissolved bound #> 0-20 0 0.110 0.000 #> >20-50 20 0.151 0.000 #> >50-100 50 0.197 0.000 #> >100-200 100 0.248 0.001 #> >200-500 200 0.224 0.004 #> >500-1000 500 0.184 0.020 #> >1000-2000 1000 0.133 0.042 #> >2000-5000 2000 0.084 0.091 #> >5000-10000 5000 0.037 0.159 #> >10000-20000 10000 0.031 0.192 #> >20000-50000 20000 0.014 0.291 #> >50000 50000 0.001 0.451"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":null,"dir":"Reference","previous_headings":"","what":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"table runoff reduction percentages used Exposit 3 different vegetated buffer widths","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"","code":"perc_runoff_reduction_exposit"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"named list data frames reduction percentage values dissolved fraction fraction bound eroding particles, vegetated buffer widths row names. names list items Exposit versions values taken. dissolved reduction percentage dissolved phase bound reduction percentage particulate phase","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html Agroscope version 3.01a additional runoff factors 3 m 6 m buffer zones received Muris Korkaric (published). variant 3.01a2 introduced consistency previous calculations performed Agroscope 3 m buffer zone.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"","code":"print(perc_runoff_reduction_exposit) #> $`3.02` #> dissolved bound #> No buffer 0 0 #> 5 m 40 40 #> 10 m 60 85 #> 20 m 80 95 #> #> $`3.01a` #> dissolved bound #> No buffer 0 0 #> 3 m 25 30 #> 5 m 40 40 #> 6 m 45 55 #> 10 m 60 85 #> 20 m 80 95 #> #> $`3.01a2` #> dissolved bound #> No buffer 0 0 #> 3 m 25 25 #> #> $`2.0` #> dissolved bound #> No buffer 0.0 0.0 #> 20 m 97.5 97.5 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"Calculate time course relative concentrations based mkinmod model","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"","code":"pfm_degradation( model = \"SFO\", DT50 = 1000, parms = c(k_parent = log(2)/DT50), years = 1, step_days = 1, times = seq(0, years * 365, by = step_days) )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"model degradation model used. Either parent model like 'SFO' 'FOMC', mkinmod object DT50 half-life. used simple exponential decline calculated (SFO model). parms parameters used degradation model years many years degradation predicted? step_days step size days output ? times output times","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"","code":"head(pfm_degradation(\"SFO\", DT50 = 10)) #> time parent #> 0 0 1.0000000 #> 1 1 0.9330330 #> 2 2 0.8705506 #> 3 3 0.8122524 #> 4 4 0.7578583 #> 5 5 0.7071068"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":null,"dir":"Reference","previous_headings":"","what":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"Plot TOXSWA hourly concentrations chemical substance specific segment TOXSWA surface water body.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"","code":"# S3 method for TOXSWA_cwa plot( x, time_column = c(\"datetime\", \"t\", \"t_firstjan\", \"t_rel_to_max\"), xlab = \"default\", ylab = \"default\", add = FALSE, threshold_factor = 1000, thin_low = 1, total = FALSE, LC_TIME = \"C\", ... )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"x TOXSWA_cwa object plotted. time_column used time axis. \"t_firstjan\" chosen, time given days relative first January first year. xlab, ylab Labels x y axis. add add existing plot? threshold_factor factor data lower maximum order get thinned plotting (see next argument). thin_low integer greater 1, data close zero (smaller 1/threshold_factor maximum) series thinned factor order decrease amount data included plots total total concentration water plotted, including substance sorbed suspended matter? LC_TIME Specification locale used format dates ... arguments passed plot adding existing plot","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"","code":"H_sw_D4_pond <- read.TOXSWA_cwa(\"00001p_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\")) plot(H_sw_D4_pond) plot(H_sw_D4_pond, time_column = \"t\") plot(H_sw_D4_pond, time_column = \"t_firstjan\") plot(H_sw_D4_pond, time_column = \"t_rel_to_max\") H_sw_R1_stream <- read.TOXSWA_cwa(\"00003s_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\")) plot(H_sw_R1_stream, time_column = \"t_rel_to_max\")"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":null,"dir":"Reference","previous_headings":"","what":"Plot time series of decline data — plot.one_box","title":"Plot time series of decline data — plot.one_box","text":"Plot time series decline data","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Plot time series of decline data — plot.one_box","text":"","code":"# S3 method for one_box plot( x, xlim = range(time(x)), ylim = c(0, max(x)), xlab = \"Time\", ylab = \"Residue\", max_twa = NULL, max_twa_var = dimnames(x)[[2]][1], ... )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Plot time series of decline data — plot.one_box","text":"x object type one_box plotted xlim Limits x axis ylim Limits y axis xlab Label x axis ylab Label y axis max_twa numeric value given, maximum time weighted average concentration(s) /shown graph. max_twa_var Variable maximum time weighted average shown max_twa NULL. ... arguments passed methods","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Plot time series of decline data — plot.one_box","text":"","code":"dfop_pred <- one_box(\"DFOP\", parms = c(k1 = 0.2, k2 = 0.02, g = 0.7)) plot(dfop_pred) plot(sawtooth(dfop_pred, 3, 7), max_twa = 21) # Use a fitted mkinfit model m_2 <- mkinmod(parent = mkinsub(\"SFO\", \"m1\"), m1 = mkinsub(\"SFO\")) #> Temporary DLL for differentials generated and loaded fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) #> Warning: Observations with value of zero were removed from the data pred_2 <- one_box(fit_2, ini = 1) pred_2_saw <- sawtooth(pred_2, 2, 7) plot(pred_2_saw, max_twa = 21, max_twa_var = \"m1\")"},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":null,"dir":"Reference","previous_headings":"","what":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"Read TOXSWA hourly concentrations chemical substance specific segment TOXSWA surface water body. Per default, data last segment imported. TOXSWA 4 reports values end hour (ConLiqWatLayCur) summary file, use value well instead hourly averages (ConLiqWatLay). TOXSWA 5.5.3 variable renamed ConLiqWatLay file.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"","code":"read.TOXSWA_cwa( filename, basedir = \".\", zipfile = NULL, segment = \"last\", substance = \"parent\", total = FALSE, windows = NULL, thresholds = NULL )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"filename filename cwa file (TOXSWA 2.x.y similar) file using FOCUS TOXSWA 4 (.e. TOXSWA 4.4.2) higher. basedir path directory cwa file resides. zipfile Optional path zip file containing cwa file. segment segment data read. Either \"last\", segment number. substance .files, default value \"parent\" leads reading concentrations parent compound. Alternatively, substance interested can selected code name. total Set TRUE order read total concentrations well. necessary .files generated TOXSWA 4.4.2 similar, .cwa files. .cwa files, total concentration always read well. windows Numeric vector width moving windows days, calculating maximum time weighted average concentrations areas curve. thresholds Numeric vector threshold concentrations µg/L generating event statistics.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"instance R6 object class TOXSWA_cwa.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"","code":"H_sw_D4_pond <- read.TOXSWA_cwa(\"00001p_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\"))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/reexports.html","id":null,"dir":"Reference","previous_headings":"","what":"Objects exported from other packages — reexports","title":"Objects exported from other packages — reexports","text":"objects imported packages. Follow links see documentation. mkin set_nd_nq, set_nd_nq_focus","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":null,"dir":"Reference","previous_headings":"","what":"Create decline time series for multiple applications — sawtooth","title":"Create decline time series for multiple applications — sawtooth","text":"application pattern specified applications, n disregarded.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create decline time series for multiple applications — sawtooth","text":"","code":"sawtooth( x, n = 1, i = 365, applications = data.frame(time = seq(0, (n - 1) * i, length.out = n), amount = 1) )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create decline time series for multiple applications — sawtooth","text":"x one_box object n number applications. applications specified, n ignored interval applications. applications specified, ignored applications data frame holding application times first column corresponding amounts applied second column.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create decline time series for multiple applications — sawtooth","text":"","code":"applications = data.frame(time = seq(0, 14, by = 7), amount = c(1, 2, 3)) pred <- one_box(10) plot(sawtooth(pred, applications = applications)) m_2 <- mkinmod(parent = mkinsub(\"SFO\", \"m1\"), m1 = mkinsub(\"SFO\")) #> Temporary DLL for differentials generated and loaded fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) #> Warning: Observations with value of zero were removed from the data pred_2 <- one_box(fit_2, ini = 1) pred_2_saw <- sawtooth(pred_2, 2, 7) plot(pred_2_saw, max_twa = 21, max_twa_var = \"m1\") max_twa(pred_2_saw) #> $max #> parent m1 #> 0.7834481 0.8617049 #> #> $window_start #> parent m1 #> 0.00 26.85 #> #> $window_end #> parent m1 #> 21.00 47.85 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":null,"dir":"Reference","previous_headings":"","what":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"Properties predefined scenarios used Tier 1, Tier 2A Tier 3A concentration soil given EFSA guidance (2015, p. 13/14). Also, scenario model adjustment factors p. 15 p. 17 included.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"","code":"soil_scenario_data_EFSA_2015"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"data frame one row scenario. Row names scenario codes, e.g. CTN Northern scenario total concentration soil. Columns mostly self-explanatory. rho dry bulk density top soil.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"EFSA (European Food Safety Authority) (2015) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 13(4) 4093 doi:10.2903/j.efsa.2015.4093","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"","code":"soil_scenario_data_EFSA_2015 #> Zone Country T_arit T_arr Texture f_om theta_fc rho f_sce #> CTN North Estonia 4.7 7.0 Coarse 0.118 0.244 0.95 3.0 #> CTC Central Germany 8.0 10.1 Coarse 0.086 0.244 1.05 2.0 #> CTS South France 11.0 12.3 Medium fine 0.048 0.385 1.22 2.0 #> CLN North Denmark 8.2 9.8 Medium 0.023 0.347 1.39 2.0 #> CLC Central Czech Republik 9.1 11.2 Medium 0.018 0.347 1.43 1.5 #> CLS South Spain 12.8 14.7 Medium 0.011 0.347 1.51 1.5 #> f_mod #> CTN 2 #> CTC 2 #> CTS 2 #> CLN 4 #> CLC 4 #> CLS 4"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":null,"dir":"Reference","previous_headings":"","what":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"Properties predefined scenarios used Tier 1, Tier 2A Tier 3A concentration soil given EFSA guidance (2017, p. 14/15). Also, scenario model adjustment factors p. 16 p. 18 included.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"","code":"soil_scenario_data_EFSA_2017"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"data frame one row scenario. Row names scenario codes, e.g. CTN Northern scenario total concentration soil. Columns mostly self-explanatory. rho dry bulk density top soil.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"EFSA (European Food Safety Authority) (2017) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 15(10) 4982 doi:10.2903/j.efsa.2017.4982","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"","code":"soil_scenario_data_EFSA_2017 #> Zone Country T_arit T_arr Texture f_om theta_fc rho f_sce f_mod #> CTN North Estonia 5.7 7.6 Coarse 0.220 0.244 0.707 1.4 3 #> CTC Central Poland 7.4 9.3 Coarse 0.122 0.244 0.934 1.4 3 #> CTS South France 10.2 11.7 Medium 0.070 0.349 1.117 1.4 3 #> CLN North Denmark 8.0 9.2 Medium 0.025 0.349 1.371 1.6 4 #> CLC Central Austria 9.3 11.3 Medium 0.018 0.349 1.432 1.6 4 #> CLS South Spain 15.4 16.7 Medium 0.010 0.349 1.521 1.6 4 #> FOCUS_zone prec #> CTN Hamburg 639 #> CTC Hamburg 617 #> CTS Hamburg 667 #> CLN Hamburg 602 #> CLC Châteaudun 589 #> CLS Sevilla 526 waldo::compare(soil_scenario_data_EFSA_2017, soil_scenario_data_EFSA_2015) #> `old` is length 12 #> `new` is length 10 #> #> `names(old)[8:12]`: \"rho\" \"f_sce\" \"f_mod\" \"FOCUS_zone\" \"prec\" #> `names(new)[8:10]`: \"rho\" \"f_sce\" \"f_mod\" #> #> `old$Country`: \"Estonia\" \"Poland\" \"France\" \"Denmark\" \"Austria\" \"Spain\" #> `new$Country`: \"Estonia\" \"Germany\" \"France\" \"Denmark\" \"Czech Republik\" \"Spain\" #> #> `old$T_arit`: 5.7 7.4 10.2 8.0 9.3 15.4 #> `new$T_arit`: 4.7 8.0 11.0 8.2 9.1 12.8 #> #> `old$T_arr`: 7.6 9.3 11.7 9.2 11.3 16.7 #> `new$T_arr`: 7.0 10.1 12.3 9.8 11.2 14.7 #> #> `old$Texture`: \"Coarse\" \"Coarse\" \"Medium\" \"Medium\" \"Medium\" \"Medium\" #> `new$Texture`: \"Coarse\" \"Coarse\" \"Medium fine\" \"Medium\" \"Medium\" \"Medium\" #> #> `old$f_om`: 0.220 0.122 0.070 0.025 0.018 0.010 #> `new$f_om`: 0.118 0.086 0.048 0.023 0.018 0.011 #> #> `old$theta_fc`: 0.244 0.244 0.349 0.349 0.349 0.349 #> `new$theta_fc`: 0.244 0.244 0.385 0.347 0.347 0.347 #> #> `old$rho`: 0.707 0.934 1.117 1.371 1.432 1.521 #> `new$rho`: 0.950 1.050 1.220 1.390 1.430 1.510 #> #> `old$f_sce`: 1.4 1.4 1.4 1.6 1.6 1.6 #> `new$f_sce`: 3.0 2.0 2.0 2.0 1.5 1.5 #> #> And 3 more differences ..."},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate a time weighted average concentration — twa","title":"Calculate a time weighted average concentration — twa","text":"moving average built using values past, earliest possible time maximum time series returned one window passed.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate a time weighted average concentration — twa","text":"","code":"twa(x, window = 21) # S3 method for one_box twa(x, window = 21)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate a time weighted average concentration — twa","text":"x object type one_box window size moving window","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate a time weighted average concentration — twa","text":"","code":"pred <- sawtooth(one_box(10), applications = data.frame(time = c(0, 7), amount = c(1, 1))) max_twa(pred) #> $max #> parent #> 0.9537545 #> #> $window_start #> parent #> 0 #> #> $window_end #> parent #> 21 #>"}]
+[{"path":"https://pkgdown.jrwb.de/pfm/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Johannes Ranke. Author, maintainer.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Johannes Ranke (2024). pfm: Utilities Pesticide Fate Modelling. R package version 0.6.3, https://github.com/jranke/pfm, https://pkgdown.jrwb.de/pfm.","code":"@Manual{, title = {pfm: Utilities for Pesticide Fate Modelling}, author = {{Johannes Ranke}}, year = {2024}, note = {R package version 0.6.3, https://github.com/jranke/pfm}, url = {https://pkgdown.jrwb.de/pfm}, }"},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"pfm","dir":"","previous_headings":"","what":"Utilities for Pesticide Fate Modelling","title":"Utilities for Pesticide Fate Modelling","text":"R package pfm provides utilities fate modelling, including dealing FOCUS pesticide fate modelling tools, (currently TOXSWA cwa files), made available GNU public license.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Utilities for Pesticide Fate Modelling","text":"easiest way install package probably use r-universe repo: Alternatively can install package using remotes package. Using quick = TRUE skips docs, multiple-architecture builds, demos, vignettes.","code":"install.packages(\"pfm\", repos = c(\"https://jranke.r-universe.dev\", \"https://cran.r-project.org\")) remotes::install_github(\"jranke/pfm\", quick = TRUE)"},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"use","dir":"","previous_headings":"","what":"Use","title":"Utilities for Pesticide Fate Modelling","text":"Please refer reference.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"examples","dir":"","previous_headings":"","what":"Examples","title":"Utilities for Pesticide Fate Modelling","text":"One recent nice example usage package visualisation time weighted average sawtooth curve obtained several overlays mkinfit predictions shown .","code":""},{"path":"https://pkgdown.jrwb.de/pfm/index.html","id":"applications","dir":"","previous_headings":"","what":"Applications","title":"Utilities for Pesticide Fate Modelling","text":"Calculations predicted environmental concentrations using package used publications Agroscope.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":null,"dir":"Reference","previous_headings":"","what":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"Subset EFSA crop interception default values groundwater modelling","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"","code":"EFSA_GW_interception_2014"},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"matrix containing interception values, currently selected crops","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"European Food Safety Authority (2014) EFSA Guidance Document evaluating laboratory field dissipation studies obtain DegT50 values active substances plant protection products transformation products active substances soil. EFSA Journal 12(5):3662, 37 pp., doi:10.2903/j.efsa.2014.3662","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Subset of EFSA crop interception default values for groundwater modelling — EFSA_GW_interception_2014","text":"","code":"EFSA_GW_interception_2014 #> BBCH #> Crop 0x 1x 2x 3x 4x 5x 6x 7x 8x 9x #> Beans (field + vegetable) 0 0.25 0.40 0.40 0.70 0.70 0.70 0.70 0.70 0.80 #> Peas 0 0.35 0.55 0.55 0.85 0.85 0.85 0.85 0.85 0.85 #> Summer oilseed rape 0 0.40 0.80 0.80 0.80 0.80 0.80 0.80 0.80 0.90 #> Winter oilseed rape 0 0.40 0.80 0.80 0.80 0.80 0.80 0.80 0.80 0.90 #> Tomatoes 0 0.50 0.70 0.70 0.80 0.80 0.80 0.80 0.80 0.50 #> Spring cereals 0 0.00 0.20 0.80 0.90 0.90 0.90 0.80 0.80 0.80 #> Winter cereals 0 0.00 0.20 0.80 0.90 0.90 0.90 0.80 0.80 0.80"},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":null,"dir":"Reference","previous_headings":"","what":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"Subset EFSA crop washoff default values","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"","code":"EFSA_washoff_2017"},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"matrix containing wash-factors, currently selected crops","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"European Food Safety Authority (2017) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 15(10) 4982 doi:10.2903/j.efsa.2017.4982","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Subset of EFSA crop washoff default values — EFSA_washoff_2017","text":"","code":"EFSA_washoff_2017 #> BBCH #> Crop 0x 1x 2x 3x 4x 5x 6x 7x 8x 9x #> Beans (field + vegetable) NA 0.60 0.75 0.75 0.80 0.80 0.80 0.80 0.80 0.35 #> Peas NA 0.40 0.60 0.60 0.65 0.65 0.65 0.65 0.65 0.35 #> Summer oilseed rape NA 0.40 0.50 0.50 0.60 0.60 0.60 0.60 0.60 0.50 #> Winter oilseed rape NA 0.10 0.40 0.40 0.55 0.55 0.55 0.55 0.55 0.30 #> Tomatoes NA 0.55 0.75 0.75 0.70 0.70 0.70 0.70 0.70 0.35 #> Spring cereals NA 0.40 0.50 0.50 0.65 0.65 0.65 0.65 0.65 0.55 #> Winter cereals NA 0.10 0.40 0.60 0.55 0.55 0.55 0.60 0.60 0.40"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":null,"dir":"Reference","previous_headings":"","what":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"Currently, scenario names acronyms small subset soil definitions provided. soil definitions page 46ff. FOCUS (2012).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"","code":"FOCUS_GW_scenarios_2012"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"object class list length 2.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"FOCUS (2012) Generic guidance Tier 1 FOCUS ground water assessments. Version 2.1. FOrum Co-ordination pesticde fate models USe. http://focus.jrc.ec.europa.eu/gw/docs/Generic_guidance_FOCV2_1.pdf","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012","text":"","code":"FOCUS_GW_scenarios_2012 #> $names #> Cha Ham Jok Kre Oke #> \"Châteadun\" \"Hamburg\" \"Jokioinen\" \"Kremsmünster\" \"Okehampton\" #> Pia Por Sev Thi #> \"Piacenza\" \"Porto\" \"Sevilla\" \"Thiva\" #> #> $soils #> location horizon number pH_H2O perc_clay perc_oc rel_deg #> 1 Cha Ap 1 8.0 30.0 1.39 1.0 #> 2 Cha B1 2 8.1 31.0 0.93 0.5 #> 3 Cha B2 3 8.2 25.0 0.70 0.5 #> 4 Cha II C1 4 8.5 26.0 0.30 0.3 #> 5 Cha II C1 5 8.5 26.0 0.30 0.0 #> 6 Cha II C2 6 8.5 24.0 0.27 0.0 #> 7 Cha M 7 8.3 31.0 0.21 0.0 #> 8 Ham Ap 1 6.4 7.2 1.50 1.0 #> 9 Ham BvI 2 5.6 6.7 1.00 0.5 #> 10 Ham BvII 3 5.6 0.9 0.20 0.3 #> 11 Ham Bv/Cv 4 5.7 0.0 0.00 0.3 #> 12 Ham Cv 5 5.5 0.0 0.00 0.3 #> 13 Ham Cv 6 5.5 0.0 0.00 0.0 #> 14 Jok Ap 1 6.2 3.6 4.06 1.0 #> 15 Jok Bs 2 5.6 1.8 0.84 0.5 #> 16 Jok BC1 3 5.4 1.2 0.36 0.3 #> 17 Jok BC2 4 5.4 1.7 0.29 0.3 #> 18 Jok BC2 5 5.4 1.7 0.29 0.0 #> 19 Jok Cg 6 5.3 1.9 0.21 0.0 #> 20 Kre <NA> 1 7.7 14.0 3.60 1.0 #> 21 Kre <NA> 2 7.0 25.0 1.00 0.5 #> 22 Kre <NA> 3 7.1 27.0 0.50 0.5 #> 23 Kre <NA> 4 7.1 27.0 0.50 0.3 #> 24 Kre <NA> 5 7.1 27.0 0.50 0.0 #> 25 Oke A 1 5.8 18.0 2.20 1.0 #> 26 Oke Bw1 2 6.3 17.0 0.70 0.5 #> 27 Oke BC 3 6.5 14.0 0.40 0.3 #> 28 Oke C 4 6.6 9.0 0.10 0.3 #> 29 Oke C 5 6.6 9.0 0.10 0.0 #> 30 Pia Ap 1 7.0 15.0 1.26 1.0 #> 31 Pia Ap 2 7.0 15.0 1.26 0.5 #> 32 Pia Bw 3 6.3 7.0 0.47 0.5 #> 33 Pia Bw 4 6.3 7.0 0.47 0.3 #> 34 Pia 2C 5 6.4 0.0 0.00 0.3 #> 35 Pia 2C 6 6.4 0.0 0.00 0.0 #> 36 Por <NA> 1 4.9 10.0 1.42 1.0 #> 37 Por <NA> 2 4.8 8.0 0.78 0.5 #> 38 Por <NA> 3 4.8 8.0 0.78 0.3 #> 39 Por <NA> 4 4.8 8.0 0.78 0.0 #> 40 Sev <NA> 1 7.3 14.0 0.93 1.0 #> 41 Sev <NA> 2 7.3 13.0 0.93 1.0 #> 42 Sev <NA> 3 7.8 15.0 0.70 0.5 #> 43 Sev <NA> 4 8.1 16.0 0.58 0.3 #> 44 Sev <NA> 5 8.1 16.0 0.58 0.0 #> 45 Sev <NA> 6 8.2 22.0 0.49 0.0 #> 46 Thi Ap1 1 7.7 25.3 0.74 1.0 #> 47 Thi Ap2 2 7.7 25.3 0.74 0.5 #> 48 Thi Bw 3 7.8 29.6 0.57 0.5 #> 49 Thi Bw 4 7.8 31.9 0.31 0.3 #> 50 Thi Ck1 5 7.8 32.9 0.18 0.3 #> 51 Thi Ck1 6 7.8 32.9 0.18 0.0 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html","id":null,"dir":"Reference","previous_headings":"","what":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","title":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","text":"data extracted scenario.txt file using R code shown . text file included package licence clear.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","text":"list containing scenario names character vector called 'names', drift percentiles matrix called 'drift', interception percentages matrix called 'interception' runoff/drainage percentages Step 2 calculations matrix called 'rd'.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Step 1/2 scenario data as distributed with the FOCUS Step 1/2 calculator — FOCUS_Step_12_scenarios","text":"","code":"# \\dontrun{ # This is the code that was used to extract the data scenario_path <- \"inst/extdata/FOCUS_Step_12_scenarios.txt\" scenarios <- readLines(scenario_path)[9:38] #> Warning: cannot open file 'inst/extdata/FOCUS_Step_12_scenarios.txt': No such file or directory #> Error in file(con, \"r\"): cannot open the connection FOCUS_Step_12_scenarios <- list() sce <- read.table(text = scenarios, sep = \"\\t\", header = TRUE, check.names = FALSE, stringsAsFactors = FALSE) #> Error in eval(expr, envir, enclos): object 'scenarios' not found FOCUS_Step_12_scenarios$names = sce$Crop #> Error in eval(expr, envir, enclos): object 'sce' not found rownames(sce) <- sce$Crop #> Error in eval(expr, envir, enclos): object 'sce' not found FOCUS_Step_12_scenarios$drift = sce[, 3:11] #> Error in eval(expr, envir, enclos): object 'sce' not found FOCUS_Step_12_scenarios$interception = sce[, 12:15] #> Error in eval(expr, envir, enclos): object 'sce' not found sce_2 <- readLines(scenario_path)[41:46] #> Warning: cannot open file 'inst/extdata/FOCUS_Step_12_scenarios.txt': No such file or directory #> Error in file(con, \"r\"): cannot open the connection rd <- read.table(text = sce_2, sep = \"\\t\")[1:2] #> Error in eval(expr, envir, enclos): object 'sce_2' not found rd_mat <- matrix(rd$V2, nrow = 3, byrow = FALSE) #> Error in eval(expr, envir, enclos): object 'rd' not found dimnames(rd_mat) = list(Time = c(\"Oct-Feb\", \"Mar-May\", \"Jun-Sep\"), Region = c(\"North\", \"South\")) #> Error: object 'rd_mat' not found FOCUS_Step_12_scenarios$rd = rd_mat #> Error in eval(expr, envir, enclos): object 'rd_mat' not found save(FOCUS_Step_12_scenarios, file = \"data/FOCUS_Step_12_scenarios.RData\") #> Warning: cannot open compressed file 'data/FOCUS_Step_12_scenarios.RData', probable reason 'No such file or directory' #> Error in gzfile(file, \"wb\"): cannot open the connection # } # And this is the resulting data FOCUS_Step_12_scenarios #> list()"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":null,"dir":"Reference","previous_headings":"","what":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"Actual maximum moving window time average concentrations FOMC kinetics","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"","code":"FOMC_actual_twa( alpha = 1.0001, beta = 10, times = c(0, 1, 2, 4, 7, 14, 21, 28, 42, 50, 100) )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"FOCUS (2014) Generic Guidance Estimating Persistence Degradation Kinetics Environmental Fate Studies Pesticides EU Registration, Version 1.1, 18 December 2014, p. 251","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"alpha Parameter FOMC model beta Parameter FOMC model times output times, window sizes time weighted average concentrations","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Actual and maximum moving window time average concentrations for FOMC kinetics — FOMC_actual_twa","text":"","code":"FOMC_actual_twa(alpha = 1.0001, beta = 10) #> actual twa #> 0 1.00000000 NaN #> 1 0.90908224 0.9530973 #> 2 0.83331814 0.9115995 #> 4 0.71426168 0.8411664 #> 7 0.58820408 0.7580202 #> 14 0.41663019 0.6253074 #> 21 0.32254415 0.5387324 #> 28 0.26312277 0.4767543 #> 42 0.19227599 0.3925054 #> 50 0.16663681 0.3583198 #> 100 0.09088729 0.2397608"},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":null,"dir":"Reference","previous_headings":"","what":"Groundwater ubiquity score based on Gustafson (1989) — GUS","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"groundwater ubiquity score GUS calculated according following equation $$GUS = \\log_{10} DT50_{soil} (4 - \\log_{10} K_{oc})$$","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"","code":"GUS(...) # S3 method for class 'numeric' GUS(DT50, Koc, ...) # S3 method for class 'chent' GUS( chent, degradation_value = \"DT50ref\", lab_field = \"laboratory\", redox = \"aerobic\", sorption_value = \"Kfoc\", degradation_aggregator = geomean, sorption_aggregator = geomean, ... ) # S3 method for class 'GUS_result' print(x, ..., digits = 1)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"... Included generic allow arguments later. Therefore also added specific methods. DT50 Half-life chemical soil. field half-life according Gustafson (1989). However, leaching sub-soil can completely excluded field dissipation experiments Gustafson refer normalisation procedure, says field study conducted use conditions. Koc sorption constant normalised organic carbon. Gustafson mention nonlinearity sorption constant commonly found usually described Freundlich sorption, therefore unclear reference concentration Koc observed (reference concentration soil porewater). chent chent given appropriate information present chyaml field, information used, defaults specified . degradation_value available degradation values used? lab_field laboratory field half-lives used? defaults lab implementation, order avoid double-accounting mobility. comparability original GUS values given Gustafson (1989) desired, non-normalised first-order field half-lives obtained actual use conditions used. redox Aerobic anaerobic degradation data sorption_value available sorption values used? Defaults Kfoc generally available European pesticide peer review process. values generally use reference concentration 1 mg/L porewater, means expected Koc values concentration 1 mg/L water phase. degradation_aggregator Function aggregating half-lives sorption_aggregator Function aggregation Koc values x object class GUS_result printed digits number digits used print method","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"list DT50 Koc used well resulting score class GUS_result","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"Gustafson, David . (1989) Groundwater ubiquity score: simple method assessing pesticide leachability. Environmental toxicology chemistry 8(4) 339–57.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/GUS.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Groundwater ubiquity score based on Gustafson (1989) — GUS","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"Get relative accumulation FOMC model multiples interval","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"","code":"PEC_FOMC_accu_rel(n, interval, FOMC)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"n number applications interval Time applications FOMC Named numeric vector containing FOMC parameters alpha beta","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the relative accumulation of an FOMC model over multiples of an interval — PEC_FOMC_accu_rel","text":"numeric vector containing n accumulation factors n applications","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate predicted environmental concentrations in soil — PEC_soil","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"basic calculation contaminant concentration bulk soil based complete, instantaneous mixing. interval given, attempt made calculating long term maximum concentration using concepts layed PPR panel opinion (EFSA PPR panel 2012 EFSA guidance PEC soil calculations (EFSA, 2015, 2017).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"","code":"PEC_soil( rate, rate_units = \"g/ha\", interception = 0, mixing_depth = 5, PEC_units = \"mg/kg\", PEC_pw_units = \"mg/L\", interval = NA, n_periods = Inf, tillage_depth = 20, leaching_depth = tillage_depth, crop = \"annual\", cultivation = FALSE, chent = NA, DT50 = NA, FOMC = NA, Koc = NA, Kom = Koc/1.724, t_avg = 0, t_act = NULL, scenarios = c(\"default\", \"EFSA_2017\", \"EFSA_2015\"), leaching = scenarios == \"EFSA_2017\", porewater = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"rate Application rate units specified rate_units Defaults g/ha interception fraction application rate reach soil mixing_depth Mixing depth cm PEC_units Requested units calculated PEC. mg/kg currently supported PEC_pw_units mg/L currently supported interval Period deeper mixing. default NA, .e. deeper mixing. annual deeper mixing, set 365 degradation units days n_periods Number periods considered long term PEC calculations tillage_depth Periodic (see interval) deeper mixing cm leaching_depth EFSA (2017) uses mixing depth (ecotoxicological evaluation depth) calculate leaching annual crops tillage takes place. default, losses layer tillage depth taken account implementation. crop Ignored scenarios EFSA_2017. annual crops supported scenarios used. crops single cropping cycle per year currently supported. cultivation mechanical cultivation sense EFSA (2017) take place, .e. twice year depth 5 cm? Ignored scenarios EFSA_2017 chent optional chent object holding substance specific information. Can also name substance character string DT50 specified, overrides soil DT50 endpoints chent object DT50 specified available chent object, zero degradation assumed FOMC specified, named numeric vector containing FOMC parameters alpha beta. overrides degradation endpoints, degradation interval maximum PEC calculated using parameters without temperature correction Koc specified, overrides Koc endpoints chent object Kom Calculated Koc default, can explicitly specified Kom t_avg Averaging times time weighted average concentrations t_act Time series actual concentrations scenarios 'default', DT50 used without correction soil properties specified REACH guidance (R.16, Table R.16-9) used porewater PEC calculations. \"EFSA_2015\", DT50 taken modelling half-life 20°C pF2 ('chent' specified, DegT50 destination 'PECgw' used), corrected using Arrhenius activation energy 65.4 kJ/mol. Also model scenario adjustment factors EFSA guidance used. leaching leaching taken account? default FALSE, except EFSA_2017 scenarios used. porewater equilibrium porewater concentrations estimated based Kom organic carbon fraction soil instead total soil concentrations? Based equation (7) given PPR panel opinion (EFSA 2012, p. 24) scenarios specified EFSA guidance (2015, p. 13).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"predicted concentration soil","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"assumes complete load soil time specified 'interval' (typically 365 days) dosed . PPR panel opinion cited (EFSA PPR panel 2012), temperature correction using Arrhenius equation performed. Total soil porewater PEC values scenarios defined EFSA guidance (2017, p. 14/15) can easily calculated.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"time weighted average (TWA) concentrations given examples EFSA guidance 2015 (p. 80) reproduced, true TWA concentrations given example EFSA guidance 2017 (p. 92). According EFSA guidance (EFSA, 2017, p. 43), leaching taken account EFSA 2017 scenarios, using evaluation depth (mixing depth) depth layer leaching takes place. However, amount leaching evaluation depth (often 5 cm) partly mixed back tillage, default function use tillage depth calculation leaching rate. temperature information available selected scenarios, e.g. EFSA scenarios, DT50 groundwater modelling (destination 'PECgw') taken chent object, otherwise DT50 destination 'PECsoil'.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"EFSA Panel Plant Protection Products Residues (2012) Scientific Opinion science behind guidance scenario selection scenario parameterisation predicting environmental concentrations plant protection products soil. EFSA Journal 10(2) 2562, doi:10.2903/j.efsa.2012.2562 EFSA (European Food Safety Authority) 2017) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 15(10) 4982 doi:10.2903/j.efsa.2017.4982 EFSA (European Food Safety Authority) (2015) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 13(4) 4093 doi:10.2903/j.efsa.2015.4093","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate predicted environmental concentrations in soil — PEC_soil","text":"","code":"PEC_soil(100, interception = 0.25) #> scenario #> t_avg default #> 0 0.1 # This is example 1 starting at p. 92 of the EFSA guidance (2017) # Note that TWA concentrations differ from the ones given in the guidance # for an unknown reason (the values from EFSA (2015) can be reproduced). PEC_soil(1000, interval = 365, DT50 = 250, t_avg = c(0, 21), Kom = 1000, scenarios = \"EFSA_2017\") #> scenario #> t_avg CTN CTC CTS #> 0 19.76834 13.8619 10.53795 #> 21 19.59345 13.7169 10.39882 PEC_soil(1000, interval = 365, DT50 = 250, t_av = c(0, 21), Kom = 1000, scenarios = \"EFSA_2017\", porewater = TRUE) #> scenario #> t_avg CLN CLC CLS #> 0 0.5541984 0.6779249 0.9816693 #> 21 0.5484576 0.6693125 0.9609119 # This is example 1 starting at p. 79 of the EFSA guidance (2015) PEC_soil(1000, interval = 365, DT50 = 250, t_avg = c(0, 21), scenarios = \"EFSA_2015\") #> scenario #> t_avg CTN CTC CTS #> 0 21.96827 11.53750 9.145259 #> 21 21.78517 11.40701 9.017370 PEC_soil(1000, interval = 365, DT50 = 250, t_av = c(0, 21), Kom = 1000, scenarios = \"EFSA_2015\", porewater = TRUE) #> scenario #> t_avg CLN CLC CLS #> 0 0.7589401 0.6674322 0.9147861 #> 21 0.7506036 0.6590345 0.8987279 # The following is from example 4 starting at p. 85 of the EFSA guidance (2015) # Metabolite M2 # Calculate total and porewater soil concentrations for tier 1 scenarios # Relative molar mass is 100/300, formation fraction is 0.7 * 1 results_pfm <- PEC_soil(100/300 * 0.7 * 1 * 1000, interval = 365, DT50 = 250, t_avg = c(0, 21), scenarios = \"EFSA_2015\") results_pfm_pw <- PEC_soil(100/300 * 0.7 * 1000, interval = 365, DT50 = 250, t_av = c(0, 21), Kom = 100, scenarios = \"EFSA_2015\", porewater = TRUE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","title":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","text":"Calculate initial accumulation PEC soil set metabolites","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","text":"","code":"PEC_soil_mets(rate, mw_parent, mets, interval = 365, ...)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate initial and accumulation PEC soil for a set of metabolites — PEC_soil_mets","text":"rate Application rate units specified mw_parent molecular weight parent compound mets dataframe metabolite identifiers rownames columns \"mw\", \"occ\" \"DT50\" holding molecular weight, maximum occurrence soil soil DT50 interval interval accumulation calculations ... arguments passed PEC_soil","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"implements method specified UK data requirements handbook checked spreadsheet published CRC website","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"","code":"PEC_sw_drainage_UK( rate, interception = 0, Koc, latest_application = NULL, soil_DT50 = NULL, model = NULL, model_parms = NULL )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"rate Application rate g/ha interception fraction application rate reach soil Koc sorption coefficient normalised organic carbon L/kg latest_application Latest application date, formatted e.g. \"01 July\" soil_DT50 Soil degradation half-life, SFO kinetics used model soil degradation model used. Either one \"FOMC\", \"DFOP\", \"HS\", \"IORE\", mkinmod object model_parms named numeric vector containing model parameters","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"predicted concentration surface water µg/L","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"HSE's Chemicals Regulation Division (CRD) Active substance PECsw calculations (UK specific authorisation requests) https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/active-substance-uk.htm accessed 2019-09-27 Drainage PECs Version 1.0 (2015) Spreadsheet published https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/pec-tools-2015/PEC%20sw-sed%20(drainage).xlsx accessed 2019-09-27","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method — PEC_sw_drainage_UK","text":"","code":"PEC_sw_drainage_UK(150, Koc = 100) #> [1] 8.076923"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"basic, vectorised form simple calculation contaminant concentration surface water based complete, instantaneous mixing input via spray drift.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"","code":"PEC_sw_drift( rate, applications = 1, 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\"), distances = c(1, 5, 10, 20), formula = c(\"Rautmann\", \"FOCUS\"), water_width = as_units(\"100 cm\"), side_angle = 90, rate_units = \"g/ha\", PEC_units = \"µg/L\" )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"rate Application rate units specified , units defined via units package. applications Number applications selection drift percentile water_depth Depth water body cm drift_percentages Percentage drift values calculate PECsw. Overrides 'drift_data' 'distances' NULL. drift_data Source drift percentage data. 'JKI', drift_data_JKI included package used. 'RF', Rautmann drift data calculated either original form integrated width water body, depending 'formula' argument. crop_group_JKI using 'JKI' drift data, one German names used drift_parameters_focus. used drift_data 'JKI'. crop_group_RF One crop groups used drift_parameters_focus distances distances m get PEC values formula default, original Rautmann formula used. specify \"FOCUS\", mean drift input width water body calculated described Chapter 5.4.5 FOCUS surface water guidance water_width Width water body cm side_angle angle side water relative bottom assumed horizontal, degrees. SYNOPS model assumes 45 degrees . rate_units Defaults g/ha. backwards compatibility, used specified rate units::units]. PEC_units Requested units calculated PEC. µg/L currently supported","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"predicted concentration surface water","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"recommened specify arguments rate, water_depth water_width using units::units units package.","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate predicted environmental concentrations in surface water due to drift — PEC_sw_drift","text":"","code":"PEC_sw_drift(100) #> Units: [µg/L] #> 1 m 5 m 10 m 20 m #> 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\") #> Units: [µg/L] #> 1 m 5 m 10 m 20 m #> 0.91976667 0.19064473 0.09680051 0.04915079 # This makes it possible to also use different distances PEC_sw_drift(100, distances = c(1, 3, 5, 6, 10, 20, 50, 100), 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\") #> Units: [µg/L] #> 1 m 3 m 5 m 6 m 10 m 20 m 50 m #> 16.8233333 11.0585820 9.0986174 8.4866460 6.9825178 4.7004640 1.8820816 #> 100 m #> 0.9417586 # 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)) #> Units: [µg/L] #> 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 # The influence of assuming a 45° angle of the sides of the waterbody and the width of the # waterbody can be illustrated PEC_sw_drift(100) #> Units: [µg/L] #> 1 m 5 m 10 m 20 m #> 0.92333333 0.19000000 0.09666667 0.05000000 PEC_sw_drift(100, drift_data = \"RF\") #> Units: [µg/L] #> 1 m 5 m 10 m 20 m #> 0.91976667 0.19064473 0.09680051 0.04915079 PEC_sw_drift(100, drift_data = \"RF\", formula = \"FOCUS\") #> Units: [µg/L] #> 1 m 5 m 10 m 20 m #> 0.64246407 0.17414541 0.09235842 0.04798749 PEC_sw_drift(100, drift_data = \"RF\", formula = \"FOCUS\", side_angle = 45) #> Units: [µg/L] #> 1 m 5 m 10 m 20 m #> 0.91780582 0.24877916 0.13194060 0.06855356 PEC_sw_drift(100, drift_data = \"RF\", formula = \"FOCUS\", side_angle = 45, water_width = 200) #> Units: [µg/L] #> 1 m 5 m 10 m 20 m #> 0.60169999 0.18937304 0.10402698 0.05517095"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"reimplementation calculation described Exposit 3.02 spreadsheet file, worksheet \"Konzept Drainage\". Although four groups compounds (\"Gefährdungsgruppen\"), one distinction made calculations, compounds low mobility (group 1) compounds modest high mobility (groups 2, 3 4). implementation, group derived Koc, given explicitly. details, see discussion function arguments .","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"","code":"PEC_sw_exposit_drainage( rate, interception = 0, Koc = NA, mobility = c(NA, \"low\", \"high\"), DT50 = Inf, t_drainage = 3, V_ditch = 30, V_drainage = c(spring = 10, autumn = 100), dilution = 2 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"rate application rate g/ha interception fraction intercepted crop Koc sorption coefficient soil organic carbon used determine mobility. trigger value 550 L/kg used order decide Koc >> 500. mobility Overrides determined Koc. DT50 soil half-life days t_drainage time application drainage event, degradation occurs, days V_ditch volume ditch assumed 1 m * 100 m * 30 cm = 30 m3 V_drainage drainage volume, equivalent 1 mm precipitation 1 ha spring/summer 10 mm autumn/winter/early spring. dilution dilution factor","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"list containing following components perc_drainage_total Gesamtaustrag (total fraction residue drained) perc_peak Stoßbelastung (fraction drained event) PEC_sw_drainage matrix containing PEC values spring autumn scenarios. rate given g/ha, PECsw microg/L.","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate PEC surface water due to drainage as in Exposit 3 — PEC_sw_exposit_drainage","text":"","code":"PEC_sw_exposit_drainage(500, Koc = 150) #> $perc_drainage_total #> spring autumn #> 0.2 1.0 #> #> $perc_peak #> spring autumn #> 12.5 25.0 #> #> $PEC_sw_drainage #> spring autumn #> 1.562500 4.807692 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"reimplementation calculation described Exposit 3.02 spreadsheet file, worksheet \"Konzept Runoff\".","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"","code":"PEC_sw_exposit_runoff( rate, interception = 0, Koc, DT50 = set_units(Inf, \"d\"), t_runoff = set_units(3, \"days\"), exposit_reduction_version = c(\"3.02\", \"3.01a\", \"3.01a2\", \"2.0\"), V_ditch = set_units(30, \"m3\"), V_event = set_units(100, \"m3\"), dilution = 2 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"rate application rate g/ha interception fraction intercepted crop Koc sorption coefficient soil organic carbon DT50 soil half-life days t_runoff time application runoff event, degradation occurs, days exposit_reduction_version version reduction factors used. \"3.02\" current version used Germany, \"3.01a\" version additional percentages 3 m 6 m buffer zones used Switzerland. \"3.01a2\" version introduced consistency previous calculations performed 3 m buffer zone Switzerland, reduction applied dissolved bound fraction. V_ditch volume ditch assumed 1 m * 100 m * 30 cm = 30 m3 V_event unreduced runoff volume, equivalent 10 mm precipitation 1 ha dilution dilution factor","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"list containing following components perc_runoff runoff percentages dissolved bound substance runoff matrix containing dissolved bound input different distances PEC_sw_runoff matrix containing PEC values dissolved bound substance different distances. rate given g/ha, PECsw microg/L.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"recommened specify arguments rate, Koc, DT50, t_runoff, V_ditch V_event using units::units units package.","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff","text":"","code":"PEC_sw_exposit_runoff(500, Koc = 150) #> $perc_runoff #> dissolved bound #> 0.248 0.001 #> #> $runoff #> dissolved bound total #> No buffer 1.240 [g] 0.00500 [g] 1.24500 [g] #> 5 m 0.744 [g] 0.00300 [g] 0.74700 [g] #> 10 m 0.496 [g] 0.00075 [g] 0.49675 [g] #> 20 m 0.248 [g] 0.00025 [g] 0.24825 [g] #> #> $PEC_sw_runoff #> dissolved bound total #> No buffer 4.769231 [µg/L] 0.019230769 [µg/L] 4.788462 [µg/L] #> 5 m 4.133333 [µg/L] 0.016666667 [µg/L] 4.150000 [µg/L] #> 10 m 3.542857 [µg/L] 0.005357143 [µg/L] 3.548214 [µg/L] #> 20 m 2.480000 [µg/L] 0.002500000 [µg/L] 2.482500 [µg/L] #> PEC_sw_exposit_runoff(600, Koc = 10000, DT50 = 195, exposit = \"3.01a\") #> $perc_runoff #> dissolved bound #> 0.037 0.159 #> #> $runoff #> dissolved bound total #> No buffer 0.21964521 [g] 0.94388078 [g] 1.16352600 [g] #> 3 m 0.16473391 [g] 0.66071655 [g] 0.82545046 [g] #> 5 m 0.13178713 [g] 0.56632847 [g] 0.69811560 [g] #> 6 m 0.12080487 [g] 0.42474635 [g] 0.54555122 [g] #> 10 m 0.08785809 [g] 0.14158212 [g] 0.22944020 [g] #> 20 m 0.04392904 [g] 0.04719404 [g] 0.09112308 [g] #> #> $PEC_sw_runoff #> dissolved bound total #> No buffer 0.8447893 [µg/L] 3.6303107 [µg/L] 4.4751000 [µg/L] #> 3 m 0.7844472 [µg/L] 3.1462693 [µg/L] 3.9307165 [µg/L] #> 5 m 0.7321507 [µg/L] 3.1462693 [µg/L] 3.8784200 [µg/L] #> 6 m 0.7106169 [µg/L] 2.4985080 [µg/L] 3.2091248 [µg/L] #> 10 m 0.6275578 [µg/L] 1.0113008 [µg/L] 1.6388586 [µg/L] #> 20 m 0.4392904 [µg/L] 0.4719404 [µg/L] 0.9112308 [µg/L] #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"reimplementation FOCUS Step 1 2 calculator version 3.2, authored Michael Klein, R. Note results multiple applications compared corresponding results single application. current, done automatically implementation. Step 1 PECs calculated. However, input files can generated suitable input FOCUS calculator.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"","code":"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 = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"parent list containing substance specific parameters, e.g. conveniently generated chent_focus_sw. rate application rate g/ha. Overriden applications given explicitly n number applications application interval comment comment input file met list containing metabolite specific parameters. e.g. conveniently generated chent_focus_sw. NULL, PEC calculated compound, parent. f_drift fraction application rate reaching waterbody via drift. NA, derived scenario name number applications via drift data defined FOCUS_Step_12_scenarios f_rd fraction amount applied reaching waterbody via runoff/drainage. Step 1, assumed 10%, parent metabolite scenario name scenario. Must one scenario names given FOCUS_Step_12_scenarios region 'n' Northern Europe 's' Southern Europe. NA, Step 1 PECsw calculated season '' October February, 'mm' March May, 'js' June September. NA, step 1 PECsw calculated interception One 'interception' (default), 'minimal crop cover', 'average crop cover' 'full canopy' met_form_water metabolite formation water taken account? can switched check influence compare previous versions Steps 12 calculator txt_file name, potentially full path Steps.12 input text file specification run(s) written overwrite existing file location specified txt_file overwritten? takes effect append FALSE. append input text file appended, exists?","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"formulas input waterbody via runoff/drainage parent subsequent formation metabolite water documented model description coming calculator. one expect, appears (get results) calculated multiplying application rate molar weight correction formation fraction water/sediment systems. Step 2 implemented.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"FOCUS (2014) Generic guidance Surface Water Scenarios (version 1.4). FOrum Co-ordination pesticde fate models USe. http://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/Generic%20FOCUS_SWS_vc1.4.pdf Website Steps 1 2 calculator Joint Research Center European Union: http://esdac.jrc.ec.europa.eu/projects/stepsonetwo","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate PEC surface water at FOCUS Step 1 — PEC_sw_focus","text":"","code":"# Parent only dummy_1 <- chent_focus_sw(\"Dummy 1\", cwsat = 6000, DT50_ws = 6, Koc = 344.8) PEC_sw_focus(dummy_1, 3000, f_drift = 0) #> $f_drift #> [1] 0 #> #> $eq_rate_drift_s #> [1] 3000 #> #> $eq_rate_rd_s #> [1] 3000 #> #> $eq_rate_rd_parent_s #> [1] NA #> #> $input_drift_s #> [1] 0 #> #> $input_rd_s #> [1] 300 #> #> $f_rd_sw #> [1] 0.6850566 #> #> $f_rd_sed #> [1] 0.3149434 #> #> $PEC #> type #> Time PECsw TWAECsw PECsed TWAECsed #> 0 6.850566e+02 NA 2.362075e+03 NA #> 1 6.103161e+02 647.68635 2.104370e+03 2233.2225 #> 2 5.437298e+02 612.03420 1.874780e+03 2110.2939 #> 4 4.315586e+02 548.76030 1.488014e+03 1892.1255 #> 7 3.051580e+02 469.88375 1.052185e+03 1620.1592 #> 14 1.359325e+02 339.57370 4.686951e+02 1170.8501 #> 21 6.055102e+01 257.45458 2.087799e+02 887.7034 #> 28 2.697241e+01 203.47173 9.300089e+01 701.5705 #> 42 5.352005e+00 140.10377 1.845371e+01 483.0778 #> 50 2.123945e+00 118.24602 7.323361e+00 407.7123 #> 100 6.585062e-03 59.30629 2.270529e-02 204.4881 #> #> $PEC_sw_max #> [1] 685.0566 #> #> $PEC_sed_max #> [1] 2362.075 #> # Metabolite new_dummy <- chent_focus_sw(\"New Dummy\", mw = 250, Koc = 100) M1 <- chent_focus_sw(\"M1\", mw = 100, cwsat = 100, DT50_ws = 100, Koc = 50, max_ws = 0, max_soil = 0.5) PEC_sw_focus(new_dummy, 1000, scenario = \"cereals, winter\", met = M1) #> $f_drift #> [1] 0.02759 #> #> $eq_rate_drift_s #> [1] 0 #> #> $eq_rate_rd_s #> [1] 200 #> #> $eq_rate_rd_parent_s #> [1] 0 #> #> $input_drift_s #> [1] 0 #> #> $input_rd_s #> [1] 20 #> #> $f_rd_sw #> [1] 0.9375 #> #> $f_rd_sed #> [1] 0.0625 #> #> $PEC #> type #> Time PECsw TWAECsw PECsed TWAECsed #> 0 62.50000 NA 31.25000 NA #> 1 62.06828 62.28414 31.03414 31.14207 #> 2 61.63954 62.06890 30.81977 31.03445 #> 4 60.79093 61.64158 30.39547 30.82079 #> 7 59.53987 61.00800 29.76994 30.50400 #> 14 56.71995 59.56326 28.35997 29.78163 #> 21 54.03358 58.16414 27.01679 29.08207 #> 28 51.47444 56.80902 25.73722 28.40451 #> 42 46.71404 54.22460 23.35702 27.11230 #> 50 44.19417 52.81945 22.09709 26.40973 #> 100 31.25000 45.08422 15.62500 22.54211 #> #> $PEC_sw_max #> [1] 62.5 #> #> $PEC_sed_max #> [1] 31.25 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed","title":"Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed","text":"method 'percentage' equivalent used CRD spreadsheet PEC calculator","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed","text":"","code":"PEC_sw_sed( PEC_sw, percentage = 100, method = \"percentage\", sediment_depth = set_units(5, \"cm\"), water_depth = set_units(30, \"cm\"), sediment_density = set_units(1.3, \"kg/L\"), PEC_sed_units = c(\"µg/kg\", \"mg/kg\") )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed","text":"PEC_sw Numeric vector matrix surface water concentrations µg/L corresponding sediment concentration estimated percentage percentage sediment, used percentage method method method used calculation sediment_depth Depth sediment layer water_depth Depth water body cm sediment_density density sediment kg/L (equivalent g/cm3) PEC_sed_units units estimated sediment PEC value","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed","text":"predicted concentration sediment","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate predicted environmental concentrations in sediment from surface water concentrations — PEC_sw_sed","text":"","code":"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]"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":null,"dir":"Reference","previous_headings":"","what":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"Actual maximum moving window time average concentrations SFO kinetics","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"","code":"SFO_actual_twa(DT50 = 1000, times = c(0, 1, 2, 4, 7, 14, 21, 28, 42, 50, 100))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"FOCUS (2014) Generic Guidance Estimating Persistence Degradation Kinetics Environmental Fate Studies Pesticides EU Registration, Version 1.1, 18 December 2014, p. 251","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"DT50 half-life. times output times, window sizes time weighted average concentrations","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Actual and maximum moving window time average concentrations for SFO kinetics — SFO_actual_twa","text":"","code":"SFO_actual_twa(10) #> actual twa #> 0 1.0000000000 NaN #> 1 0.9330329915 0.9661297 #> 2 0.8705505633 0.9337803 #> 4 0.7578582833 0.8733416 #> 7 0.6155722067 0.7923030 #> 14 0.3789291416 0.6400113 #> 21 0.2332582479 0.5267498 #> 28 0.1435872944 0.4412651 #> 42 0.0544094102 0.3248093 #> 50 0.0312500000 0.2795222 #> 100 0.0009765625 0.1441286"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":null,"dir":"Reference","previous_headings":"","what":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"implements method specified UK data requirements handbook checked spreadsheet published CRD website","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"","code":"SSLRC_mobility_classification(Koc)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"Koc sorption coefficient normalised organic carbon L/kg","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"list containing classification percentage compound transported per 10 mm drain water","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"HSE's Chemicals Regulation Division (CRD) Active substance PECsw calculations (UK specific authorisation requests) https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/active-substance-uk.htm accessed 2019-09-27 Drainage PECs Version 1.0 (2015) Spreadsheet published https://www.hse.gov.uk/pesticides/topics/pesticide-approvals/pesticides-registration/data-requirements-handbook/fate/pec-tools-2015/PEC%20sw-sed%20(drainage).xlsx accessed 2019-09-27","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Determine the SSLRC mobility classification for a chemical substance from its Koc — SSLRC_mobility_classification","text":"","code":"SSLRC_mobility_classification(100) #> $`Mobility classification` #> [1] \"Moderately mobile\" #> #> $`Percentage drained per mm of drain water` #> [1] 0.7 #> SSLRC_mobility_classification(10000) #> $`Mobility classification` #> [1] \"Non mobile\" #> #> $`Percentage drained per mm of drain water` #> [1] 0.008 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"R6 class holding TOXSWA water concentration (cwa) data associated statistics. like maximum moving window average concentrations, dataframes holding events exceeding specified thresholds. Usually, instance class generated read.TOXSWA_cwa.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"R6Class generator object.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"public-fields","dir":"Reference","previous_headings":"","what":"Public fields","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"filename Length one character vector holding filename. basedir Length one character vector holding directory file came . zipfile null, giving path zip file file read. segment Length one integer, specifying segment cwa data read. substance TOXSWA name substance. cwas Dataframe holding concentrations. events List dataframes holding event statistics threshold. windows Matrix maximum time weighted average concentrations (TWAC_max) areas curve µg/day * h (AUC_max_h) µg/day * d (AUC_max_d) requested moving window sizes days.","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"TOXSWA_cwa$new() TOXSWA_cwa$moving_windows() TOXSWA_cwa$get_events() TOXSWA_cwa$print() TOXSWA_cwa$clone()","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Create TOXSWA_cwa object file","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$new( filename, basedir, zipfile = NULL, segment = \"last\", substance = \"parent\", total = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"filename filename basedir directory look zipfile Optional path zipfile holding file segment Either \"last\" number segment read data substance TOXSWA substance name (TOXSWA 4 higher) total total concentrations read ? FALSE, free concentrations read","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-moving-windows-","dir":"Reference","previous_headings":"","what":"Method moving_windows()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Add windows field described .","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$moving_windows(windows, total = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"windows Window sizes days total TRUE, total concentration including amount adsorbed suspended matter used.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-get-events-","dir":"Reference","previous_headings":"","what":"Method get_events()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Populate datataframe event information specified threshold value. resulting dataframe stored events field object.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$get_events(thresholds, total = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"thresholds Threshold values µg/L. total TRUE, total concentration including amount adsorbed suspended matter used.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"Print TOXSWA_cwa object","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$print()"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"objects class cloneable method.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"TOXSWA_cwa$clone(deep = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"deep Whether make deep clone.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for holding TOXSWA water concentration data and associated statistics — TOXSWA_cwa","text":"","code":"H_sw_R1_stream <- read.TOXSWA_cwa(\"00003s_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\")) H_sw_R1_stream$get_events(c(2, 10)) H_sw_R1_stream$moving_windows(c(7, 21)) print(H_sw_R1_stream) #> <TOXSWA_cwa> data from file 00003s_pa.cwa segment 20 #> datetime t t_firstjan t_rel_to_max cwa_mug_per_L #> 20 1978-10-01 00:00:00 0.000 273.0000 -55.333 0 #> 40 1978-10-01 01:00:00 0.042 273.0417 -55.291 0 #> 60 1978-10-01 02:00:00 0.083 273.0833 -55.250 0 #> 80 1978-10-01 03:00:00 0.125 273.1250 -55.208 0 #> 100 1978-10-01 04:00:00 0.167 273.1667 -55.166 0 #> 120 1978-10-01 05:00:00 0.208 273.2083 -55.125 0 #> cwa_tot_mug_per_L #> 20 0 #> 40 0 #> 60 0 #> 80 0 #> 100 0 #> 120 0 #> Moving window analysis #> window max_TWAC max_AUC_h max_AUC_d #> 1 7 days 2.3926551 401.9660 16.74859 #> 2 21 days 0.8369248 421.8101 17.57542 #> Event statistics for threshold 2 #> t_start cwa_max duration pre_interval AUC_h AUC_d #> 1 44.375 4.167238 0.208 44.375 17.77202 0.740501 #> 2 55.042 40.584010 0.583 10.459 398.21189 16.592162 #> Event statistics for threshold 10 #> t_start cwa_max duration pre_interval AUC_h AUC_d #> 1 55.083 40.58401 0.459 55.083 379.433 15.80971"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":null,"dir":"Reference","previous_headings":"","what":"Estimation of the transpiration stream concentration factor — TSCF","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"FOCUS groundwater guidance (FOCUS 2014, p. 41) states reliable measured log Kow neutral pH must available order apply Briggs equation. clarified can regarded reliable, equation stated produced non-ionic compounds, suggesting compound ionogenic (weak acid/base) ionic.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"","code":"TSCF(log_Kow, method = c(\"briggs82\", \"dettenmaier09\"))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"log_Kow decadic logarithm octanol-water partition constant method Short name estimation method.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"Dettenmaier equation given show views subject exist.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"FOCUS (2014) Generic Guidance Tier 1 FOCUS Ground Water Assessments. Version 2.2, May 2014 Dettenmaier EM, Doucette WJ Bugbee B (2009) Chemical hydrophobicity uptake plant roots. Environ. Sci. Technol 43, 324 - 329","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/TSCF.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Estimation of the transpiration stream concentration factor — TSCF","text":"","code":"plot(TSCF, -1, 5, xlab = \"log Kow\", ylab = \"TSCF\", ylim = c(0, 1.1)) TSCF_2 <- function(x) TSCF(x, method = \"dettenmaier09\") curve(TSCF_2, -1, 5, add = TRUE, lty = 2) legend(\"topright\", lty = 1:2, bty = \"n\", legend = c(\"Briggs et al. (1982)\", \"Dettenmaier et al. (2009)\"))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"Create chemical compound object FOCUS Step 1 calculations","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"","code":"chent_focus_sw( name, Koc, DT50_ws = NA, DT50_soil = NA, DT50_water = NA, DT50_sediment = NA, cwsat = 1000, mw = NA, max_soil = 1, max_ws = 1 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"name Length one character vector containing name Koc Partition coefficient organic carbon water L/kg. DT50_ws Half-life water/sediment systems days DT50_soil Half-life soil days DT50_water Half-life water days (Step 2) DT50_sediment Half-life sediment days (Step 2) cwsat Water solubility mg/L mw Molar weight g/mol. max_soil Maximum observed fraction (dimensionless) soil max_ws Maximum observed fraction (dimensionless) water/sediment systems","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a chemical compound object for FOCUS Step 1 calculations — chent_focus_sw","text":"list substance specific properties","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":null,"dir":"Reference","previous_headings":"","what":"Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI","title":"Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI","text":"Deposition spray drift expressed percent applied dose published German Julius-Kühn Institute (JKI).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI","text":"","code":"drift_data_JKI"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI","text":"list currently containing matrices spray drift percentage data field crops (Ackerbau), Pome/stone fruit, early late (Obstbau frueh, spaet).","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI","text":"JKI (2010) Spreadsheet 'Tabelle der Abdrifteckwerte.xls', retrieved http://www.jki.bund.de/no_cache/de/startseite/institute/anwendungstechnik/abdrift-eckwerte.html 2015-06-11, present 2024-01-31 Rautmann, D., Streloke, M Winkler, R (2001) New basic drift values authorization procedure plant protection products Mitt. Biol. Bundesanst. Land- Forstwirtsch. 383, 133-141","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI","text":"data extracted spreadsheet cited using R code given file data_generation/drift_data_JKI.R installed package. file included package, licence clear. Additional spray drift values taken publication Rautmann et al. (2001). Specifically, values early vines, values 3 m buffer incomplete spreadsheet. Note vegetables, ornamentals small fruit, values field crops used crops < 50 cm, vales late vines used crops > 50 cm. JKI spreadsheet, indicated values used spray applications handheld/knapsack equipment (tragbare Spritz- und Sprühgerate). Values non-professional use listed JKI spreadsheet included.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Deposition from spray drift expressed as percent of the applied dose as published by the JKI — drift_data_JKI","text":"","code":"drift_data_JKI #> [[1]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 2.77 NA NA NA NA #> 3 0.95 29.20 15.73 2.70 8.02 #> 5 0.57 19.89 8.41 1.18 3.62 #> 10 0.29 11.81 3.60 0.39 1.23 #> 15 0.20 5.55 1.81 0.20 0.65 #> 20 0.15 2.77 1.09 0.13 0.42 #> 30 0.10 1.04 0.54 0.07 0.22 #> 40 0.07 0.52 0.32 0.04 0.14 #> 50 0.06 0.30 0.22 0.03 0.10 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 4.440 NA #> 3 19.33 NA 0.018721696 #> 5 11.57 0.180 0.014363896 #> 10 5.77 0.050 0.010026007 #> 15 3.84 0.020 0.008124366 #> 20 1.79 0.012 0.006998158 #> 30 0.56 0.005 0.005670811 #> 40 0.25 0.003 NA #> 50 0.13 0.002 0.004350831 #> #> [[2]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 2.38 NA NA NA NA #> 3 0.79 25.53 12.13 2.53 7.23 #> 5 0.47 16.87 6.81 1.09 3.22 #> 10 0.24 9.61 3.11 0.35 1.07 #> 15 0.16 5.61 1.58 0.18 0.56 #> 20 0.12 2.59 0.90 0.11 0.36 #> 30 0.08 0.87 0.40 0.06 0.19 #> 40 0.06 0.40 0.23 0.03 0.12 #> 50 0.05 0.22 0.15 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 3.780 NA #> 3 17.73 NA NA #> 5 9.60 0.160 NA #> 10 4.18 0.040 NA #> 15 2.57 0.020 NA #> 20 1.21 0.011 NA #> 30 0.38 0.005 NA #> 40 0.17 0.003 NA #> 50 0.09 0.002 NA #> #> [[3]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 2.01 NA NA NA NA #> 3 0.68 23.96 11.01 2.49 6.90 #> 5 0.41 15.79 6.04 1.04 3.07 #> 10 0.20 8.96 2.67 0.32 1.02 #> 15 0.14 4.24 1.39 0.16 0.54 #> 20 0.10 2.01 0.80 0.10 0.34 #> 30 0.07 0.70 0.36 0.05 0.18 #> 40 0.05 0.33 0.21 0.03 0.11 #> 50 0.04 0.19 0.13 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 3.420 NA #> 3 15.93 NA NA #> 5 8.57 0.150 NA #> 10 3.70 0.040 NA #> 15 2.26 0.020 NA #> 20 1.05 0.010 NA #> 30 0.34 0.004 NA #> 40 0.15 0.003 NA #> 50 0.08 0.002 NA #> #> [[4]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.85 NA NA NA NA #> 3 0.62 23.61 10.12 2.44 6.71 #> 5 0.38 15.42 5.60 1.02 2.99 #> 10 0.19 8.66 2.50 0.31 0.99 #> 15 0.13 4.01 1.28 0.16 0.52 #> 20 0.10 1.89 0.75 0.10 0.33 #> 30 0.06 0.66 0.35 0.05 0.17 #> 40 0.05 0.31 0.20 0.03 0.11 #> 50 0.04 0.17 0.13 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 2.290 NA #> 3 15.38 NA NA #> 5 8.26 0.120 NA #> 10 3.55 0.030 NA #> 15 2.17 0.020 NA #> 20 0.93 0.009 NA #> 30 0.31 0.004 NA #> 40 0.14 0.002 NA #> 50 0.08 0.002 NA #> #> [[5]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.75 NA NA NA NA #> 3 0.59 23.12 9.74 2.37 6.59 #> 5 0.36 15.06 5.41 1.00 2.93 #> 10 0.18 8.42 2.43 0.31 0.98 #> 15 0.12 3.83 1.24 0.15 0.51 #> 20 0.09 1.81 0.72 0.09 0.33 #> 30 0.06 0.63 0.34 0.05 0.17 #> 40 0.05 0.30 0.20 0.03 0.11 #> 50 0.04 0.17 0.13 0.02 0.08 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 2.120 NA #> 3 15.12 NA NA #> 5 7.99 0.110 NA #> 10 3.36 0.030 NA #> 15 2.03 0.010 NA #> 20 0.88 0.008 NA #> 30 0.29 0.004 NA #> 40 0.14 0.002 NA #> 50 0.07 0.002 NA #> #> [[6]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.64 NA NA NA NA #> 3 0.56 22.76 9.21 2.29 6.41 #> 5 0.34 14.64 5.18 0.97 2.85 #> 10 0.17 8.04 2.38 0.30 0.95 #> 15 0.11 3.71 1.20 0.15 0.50 #> 20 0.09 1.75 0.68 0.09 0.32 #> 30 0.06 0.61 0.31 0.05 0.17 #> 40 0.04 0.29 0.17 0.03 0.11 #> 50 0.03 0.16 0.11 0.02 0.07 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 1.980 NA #> 3 14.90 NA NA #> 5 7.79 0.100 NA #> 10 3.23 0.030 NA #> 15 1.93 0.010 NA #> 20 0.83 0.008 NA #> 30 0.28 0.004 NA #> 40 0.13 0.002 NA #> 50 0.07 0.001 NA #> #> [[7]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.61 NA NA NA NA #> 3 0.55 22.69 9.10 2.24 6.33 #> 5 0.33 14.45 5.11 0.94 2.81 #> 10 0.17 7.83 2.33 0.29 0.94 #> 15 0.11 3.62 1.20 0.15 0.49 #> 20 0.08 1.71 0.67 0.09 0.31 #> 30 0.06 0.60 0.30 0.05 0.16 #> 40 0.04 0.28 0.17 0.03 0.10 #> 50 0.03 0.16 0.11 0.02 0.07 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 1.930 NA #> 3 14.63 NA NA #> 5 7.60 0.100 NA #> 10 3.13 0.030 NA #> 15 1.86 0.010 NA #> 20 0.81 0.008 NA #> 30 0.26 0.004 NA #> 40 0.12 0.002 NA #> 50 0.06 0.001 NA #> #> [[8]] #> crop #> distance Ackerbau Obstbau frueh Obstbau spaet Weinbau frueh Weinbau spaet #> 1 1.52 NA NA NA NA #> 3 0.52 22.24 8.66 2.16 6.26 #> 5 0.31 14.09 4.92 0.91 2.78 #> 10 0.16 7.58 2.29 0.28 0.93 #> 15 0.11 3.48 1.14 0.14 0.49 #> 20 0.08 1.65 0.65 0.09 0.31 #> 30 0.05 0.57 0.29 0.04 0.16 #> 40 0.04 0.27 0.16 0.03 0.10 #> 50 0.03 0.15 0.11 0.02 0.07 #> crop #> distance Hopfenbau Flaechenkulturen > 900 l/ha Gleisanlagen #> 1 NA 1.640 NA #> 3 13.53 NA NA #> 5 7.15 0.090 NA #> 10 3.01 0.020 NA #> 15 1.82 0.010 NA #> 20 0.78 0.007 NA #> 30 0.25 0.003 NA #> 40 0.12 0.002 NA #> 50 0.06 0.001 NA #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":null,"dir":"Reference","previous_headings":"","what":"Regression parameters for the Rautmann drift data — drift_parameters_focus","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"parameters extracted Appendix B FOCUS surface water guidance using R code given file data_generation/drift_parameters_focus.R installed package. appendix included package, licence clear.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"","code":"drift_parameters_focus"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"tibble::tibble.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"hinge distance, Inf substituted cases hinge distance given data, way parameters C D never used distance B used case distance smaller hinge distance.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"FOCUS (2014) Generic guidance Surface Water Scenarios (version 1.4). FOrum Co-ordination pesticde fate models USe. http://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/Generic%20FOCUS_SWS_vc1.4.pdf FOCUS (2001) FOCUS Surface Water Scenarios EU Evaluation Process 91/414/EEC. Report FOCUS Working Group Surface Water Scenarios, EC Document Reference SANCO/4802/2001-rev.2. 245, Appendix B. https://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/FOCUS_SWS_APPENDIX_B.doc Rautmann, D., Streloke, M Winkler, R (2001) New basic drift values authorization procedure plant protection products Mitt. Biol. Bundesanst. Land- Forstwirtsch. 383, 133-141","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Regression parameters for the Rautmann drift data — drift_parameters_focus","text":"","code":"drift_parameters_focus #> # A tibble: 49 × 8 #> crop_group n_apps percentile A B C D hinge #> <chr> <int> <int> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 arable 1 90 2.76 -0.978 NA NA Inf #> 2 arable 2 82 2.44 -1.01 NA NA Inf #> 3 arable 3 77 2.02 -0.996 NA NA Inf #> 4 arable 4 74 1.86 -0.986 NA NA Inf #> 5 arable 5 72 1.79 -0.994 NA NA Inf #> 6 arable 6 70 1.63 -0.986 NA NA Inf #> 7 arable 7 69 1.58 -0.981 NA NA Inf #> 8 arable 8 67 1.51 -0.983 NA NA Inf #> 9 hops 1 90 58.2 -1.00 8655. -2.84 15.3 #> 10 hops 2 82 66.2 -1.20 5555. -2.82 15.3 #> # ℹ 39 more rows unique(drift_parameters_focus$crop_group) #> [1] \"arable\" \"hops\" \"vines, late\" \"vines, early\" \"fruit, late\" #> [6] \"fruit, early\" \"aerial\""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"Calculate drift percentages based Rautmann data","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"","code":"drift_percentages_rautmann( distances, applications = 1, crop_group_focus = c(\"arable\", \"hops\", \"vines, late\", \"vines, early\", \"fruit, late\", \"fruit, early\", \"aerial\"), formula = c(\"Rautmann\", \"FOCUS\"), widths = 1 )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"distances distances m get PEC values applications Number applications selection drift percentile crop_group_focus One crop groups used drift_parameters_focus formula default, original Rautmann formula used. specify \"FOCUS\", mean drift input width water body calculated described Chapter 5.4.5 FOCUS surface water guidance widths widths water bodies (used FOCUS formula)","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"FOCUS (2014) Generic guidance Surface Water Scenarios (version 1.4). FOrum Co-ordination pesticde fate models USe. http://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/Generic%20FOCUS_SWS_vc1.4.pdf","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate drift percentages based on Rautmann data — drift_percentages_rautmann","text":"","code":"# Compare JKI data with Rautmann formula # One application on field crops, for 1 m, 3 m and 5 m distance drift_data_JKI[[1]][as.character(c(1, 3, 5)), \"Ackerbau\"] #> 1 3 5 #> 2.77 0.95 0.57 drift_percentages_rautmann(c(1, 3, 5)) #> [1] 2.7593000 0.9424748 0.5719342 drift_percentages_rautmann(c(1, 3, 5), formula = \"FOCUS\") #> [1] 1.9273922 0.8160023 0.5224362 # 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 #> 29.20 19.89 2.77 0.30 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, early\") #> [1] 29.1973659 19.8844422 2.7618138 0.3012008 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, early\", formula = \"FOCUS\") #> [1] 26.1193421 18.5428680 2.6038558 0.2940792 drift_data_JKI[[1]][as.character(c(3, 5, 20, 50)), \"Obstbau spaet\"] #> 3 5 20 50 #> 15.73 8.41 1.09 0.22 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, late\") #> [1] 15.7246994 8.4108487 1.0813887 0.2155992 drift_percentages_rautmann(c(3, 5, 20, 50), crop_group = \"fruit, late\", formula = \"FOCUS\") #> [1] 13.1414350 7.5123244 1.0359007 0.2118734 # We get a continuum if the waterbody covers the hinge distance # (11.4 m for 1 early app to fruit) x <- seq(3, 30, by = 0.1) d <- drift_percentages_rautmann(x, crop_group = \"fruit, early\", formula = \"FOCUS\") plot(x, d, type = \"l\", xlab = \"Distance of near edge [m]\", ylab = \"Mean drift percentage over waterbody width\", main = \"One application to fruit, early\") abline(v = 11.4, lty = 2)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"R6 class objects class chent represent chemical entities can hold list information loaded chemical yaml file chyaml field. information extracted optionally aggregated function.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"","code":"endpoint( chent, medium = \"soil\", type = c(\"degradation\", \"sorption\"), lab_field = c(NA, \"laboratory\", \"field\"), redox = c(NA, \"aerobic\", \"anaerobic\"), value = c(\"DT50ref\", \"Kfoc\", \"N\"), aggregator = geomean, raw = FALSE, signif = 3 ) soil_DT50( chent, aggregator = geomean, signif = 3, lab_field = \"laboratory\", value = \"DT50ref\", redox = \"aerobic\", raw = FALSE ) soil_Kfoc(chent, aggregator = geomean, signif = 3, value = \"Kfoc\", raw = FALSE) soil_N(chent, aggregator = mean, signif = 3, raw = FALSE) soil_sorption( chent, values = c(\"Kfoc\", \"N\"), aggregators = c(Kfoc = geomean, Koc = geomean, N = mean), signif = c(Kfoc = 3, N = 3), raw = FALSE )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"chent chent object get information medium medium information sought type information type lab_field NA, want laboratory field endpoints redox NA, looking aerobic anaerobic data value name value want. list given usage section exclusive aggregator aggregator function. Can mean, geomean, identity, example. raw number(s) returned stored chent object (character value) retain original information precision? signif many significant digits want values values returned aggregators named vector aggregator functions used","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"result applying aggregator function values converted numeric vector, rounded given number significant digits, , raw = TRUE, values character value, retaining implicit information precision may present.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/endpoint.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Retrieve endpoint information from the chyaml field of a chent object — endpoint","text":"functions soil_* functions extract soil specific endpoints. Freundlich exponent, capital letter N used order facilitate dealing data R. pesticide fate modelling, exponent often called 1/n.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate the geometric mean — geomean","title":"Calculate the geometric mean — geomean","text":"Based posts thread Stackoverflow http://stackoverflow.com/questions/2602583/geometric-mean----built-function returns NA NA values present na.rm = FALSE (default). negative values present, gives error message. least one element vector 0, returns 0.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate the geometric mean — geomean","text":"","code":"geomean(x, na.rm = FALSE)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate the geometric mean — geomean","text":"x Vector numbers na.rm NA values omitted?","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculate the geometric mean — geomean","text":"geometric mean","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate the geometric mean — geomean","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/geomean.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate the geometric mean — geomean","text":"","code":"geomean(c(1, 3, 9)) #> [1] 3 geomean(c(1, 3, NA, 9)) #> [1] NA geomean(c(1, -3, 9)) # returns an error #> Error in geomean(c(1, -3, 9)): Only defined for positive numbers"},{"path":"https://pkgdown.jrwb.de/pfm/reference/get_vertex.html","id":null,"dir":"Reference","previous_headings":"","what":"Fit a parabola through three points — get_vertex","title":"Fit a parabola through three points — get_vertex","text":"inspired answer stackoverflow https://stackoverflow.com//717791","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/get_vertex.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Fit a parabola through three points — get_vertex","text":"","code":"get_vertex(x, y)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/get_vertex.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Fit a parabola through three points — get_vertex","text":"x Three x coordinates y Three y coordinates","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":null,"dir":"Reference","previous_headings":"","what":"The maximum time weighted average concentration for a moving window — max_twa","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"generate time series using sawtooth, need make sure length time series allows finding maximum. therefore recommended check using plot.one_box using window size argument max_twa.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"","code":"max_twa(x, window = 21)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"x object type one_box window size moving window","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"method working directly fitted mkinfit objects uses equations given PEC soil section FOCUS guidance restricted SFO, FOMC DFOP models parent compound","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"FOCUS (2006) “Guidance Document Estimating Persistence Degradation Kinetics Environmental Fate Studies Pesticides EU Registration” Report FOCUS Work Group Degradation Kinetics, EC Document Reference Sanco/10058/2005 version 2.0, 434 pp, http://esdac.jrc.ec.europa.eu/projects/degradation-kinetics","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/max_twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"The maximum time weighted average concentration for a moving window — max_twa","text":"","code":"pred <- sawtooth(one_box(10), applications = data.frame(time = c(0, 7), amount = c(1, 1))) max_twa(pred) #> $max #> parent #> 0.9537545 #> #> $window_start #> parent #> 0 #> #> $window_end #> parent #> 21 #> pred_FOMC <- mkinfit(\"FOMC\", FOCUS_2006_C, quiet = TRUE) max_twa(pred_FOMC) #> 21 #> 18.22124"},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a time series of decline data — one_box","title":"Create a time series of decline data — one_box","text":"Create time series decline data","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a time series of decline data — one_box","text":"","code":"one_box(x, ini, ..., t_end = 100, res = 0.01) # S3 method for numeric one_box(x, ini = 1, ..., t_end = 100, res = 0.01) # S3 method for character one_box(x, ini = 1, parms, ..., t_end = 100, res = 0.01) # S3 method for mkinfit one_box(x, ini = \"model\", ..., t_end = 100, res = 0.01)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a time series of decline data — one_box","text":"x numeric, half-life used exponential decline. character string specifying parent decline model given e.g. FOMC, parms must contain corresponding parameters. x mkinfit object, decline calculated object. ini initial amount. x mkinfit object, ini 'model', fitted initial concentrations used. Otherwise, ini must numeric. length one, used parent initial values metabolites zero, otherwise, must give values observed variables. ... arguments passed methods t_end End time series res Resolution time series parms named numeric vector containing model parameters","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a time series of decline data — one_box","text":"object class one_box, inheriting ts.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/one_box.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a time series of decline data — one_box","text":"","code":"# Only use a half-life pred_0 <- one_box(10) plot(pred_0) # Use a fitted mkinfit model require(mkin) fit <- mkinfit(\"FOMC\", FOCUS_2006_C, quiet = TRUE) pred_1 <- one_box(fit) plot(pred_1) # Use a model with more than one observed variable m_2 <- mkinmod(parent = mkinsub(\"SFO\", \"m1\"), m1 = mkinsub(\"SFO\")) #> Temporary DLL for differentials generated and loaded fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) #> Warning: Observations with value of zero were removed from the data pred_2 <- one_box(fit_2, ini = \"model\") plot(pred_2)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":null,"dir":"Reference","previous_headings":"","what":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"table loss percentages used Exposit 3 twelve different Koc classes","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"","code":"perc_runoff_exposit"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"data frame percentage values dissolved fraction fraction bound eroding particles, Koc classes used row names Koc_lower_bound lower bound Koc class dissolved percentage applied substance transferred adjacent water body dissolved phase bound percentage applied substance transferred adjacent water body bound eroding particles","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Runoff loss percentages as used in Exposit 3 — perc_runoff_exposit","text":"","code":"print(perc_runoff_exposit) #> Koc_lower_bound dissolved bound #> 0-20 0 [L/kg] 0.110 0.000 #> >20-50 20 [L/kg] 0.151 0.000 #> >50-100 50 [L/kg] 0.197 0.000 #> >100-200 100 [L/kg] 0.248 0.001 #> >200-500 200 [L/kg] 0.224 0.004 #> >500-1000 500 [L/kg] 0.184 0.020 #> >1000-2000 1000 [L/kg] 0.133 0.042 #> >2000-5000 2000 [L/kg] 0.084 0.091 #> >5000-10000 5000 [L/kg] 0.037 0.159 #> >10000-20000 10000 [L/kg] 0.031 0.192 #> >20000-50000 20000 [L/kg] 0.014 0.291 #> >50000 50000 [L/kg] 0.001 0.451"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":null,"dir":"Reference","previous_headings":"","what":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"table runoff reduction percentages used Exposit 3 different vegetated buffer widths","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"","code":"perc_runoff_reduction_exposit"},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"named list data frames reduction percentage values dissolved fraction fraction bound eroding particles, vegetated buffer widths row names. names list items Exposit versions values taken. dissolved reduction percentage dissolved phase bound reduction percentage particulate phase","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"Excel 3.02 spreadsheet available https://www.bvl.bund.de/SharedDocs/Downloads/04_Pflanzenschutzmittel/zul_umwelt_exposit.html Agroscope version 3.01a additional runoff factors 3 m 6 m buffer zones received Muris Korkaric (published). variant 3.01a2 introduced consistency previous calculations performed Agroscope 3 m buffer zone.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Runoff reduction percentages as used in Exposit — perc_runoff_reduction_exposit","text":"","code":"print(perc_runoff_reduction_exposit) #> $`3.02` #> dissolved bound #> No buffer 0 0 #> 5 m 40 40 #> 10 m 60 85 #> 20 m 80 95 #> #> $`3.01a` #> dissolved bound #> No buffer 0 0 #> 3 m 25 30 #> 5 m 40 40 #> 6 m 45 55 #> 10 m 60 85 #> 20 m 80 95 #> #> $`3.01a2` #> dissolved bound #> No buffer 0 0 #> 3 m 25 25 #> #> $`2.0` #> dissolved bound #> No buffer 0.0 0.0 #> 20 m 97.5 97.5 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"Calculate time course relative concentrations based mkinmod model","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"","code":"pfm_degradation( model = \"SFO\", DT50 = 1000, parms = c(k_parent = log(2)/DT50), years = 1, step_days = 1, times = seq(0, years * 365, by = step_days) )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"model degradation model used. Either parent model like 'SFO' 'FOMC', mkinmod object DT50 half-life. used simple exponential decline calculated (SFO model). parms parameters used degradation model years many years degradation predicted? step_days step size days output ? times output times","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate a time course of relative concentrations based on an mkinmod model — pfm_degradation","text":"","code":"head(pfm_degradation(\"SFO\", DT50 = 10)) #> time parent #> 0 0 1.0000000 #> 1 1 0.9330330 #> 2 2 0.8705506 #> 3 3 0.8122524 #> 4 4 0.7578583 #> 5 5 0.7071068"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":null,"dir":"Reference","previous_headings":"","what":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"Plot TOXSWA hourly concentrations chemical substance specific segment TOXSWA surface water body.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"","code":"# S3 method for TOXSWA_cwa plot( x, time_column = c(\"datetime\", \"t\", \"t_firstjan\", \"t_rel_to_max\"), xlab = \"default\", ylab = \"default\", add = FALSE, threshold_factor = 1000, thin_low = 1, total = FALSE, LC_TIME = \"C\", ... )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"x TOXSWA_cwa object plotted. time_column used time axis. \"t_firstjan\" chosen, time given days relative first January first year. xlab, ylab Labels x y axis. add add existing plot? threshold_factor factor data lower maximum order get thinned plotting (see next argument). thin_low integer greater 1, data close zero (smaller 1/threshold_factor maximum) series thinned factor order decrease amount data included plots total total concentration water plotted, including substance sorbed suspended matter? LC_TIME Specification locale used format dates ... arguments passed plot adding existing plot","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Plot TOXSWA surface water concentrations — plot.TOXSWA_cwa","text":"","code":"H_sw_D4_pond <- read.TOXSWA_cwa(\"00001p_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\")) plot(H_sw_D4_pond) plot(H_sw_D4_pond, time_column = \"t\") plot(H_sw_D4_pond, time_column = \"t_firstjan\") plot(H_sw_D4_pond, time_column = \"t_rel_to_max\") H_sw_R1_stream <- read.TOXSWA_cwa(\"00003s_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\")) plot(H_sw_R1_stream, time_column = \"t_rel_to_max\")"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":null,"dir":"Reference","previous_headings":"","what":"Plot time series of decline data — plot.one_box","title":"Plot time series of decline data — plot.one_box","text":"Plot time series decline data","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Plot time series of decline data — plot.one_box","text":"","code":"# S3 method for one_box plot( x, xlim = range(time(x)), ylim = c(0, max(x)), xlab = \"Time\", ylab = \"Residue\", max_twa = NULL, max_twa_var = dimnames(x)[[2]][1], ... )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Plot time series of decline data — plot.one_box","text":"x object type one_box plotted xlim Limits x axis ylim Limits y axis xlab Label x axis ylab Label y axis max_twa numeric value given, maximum time weighted average concentration(s) /shown graph. max_twa_var Variable maximum time weighted average shown max_twa NULL. ... arguments passed methods","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Plot time series of decline data — plot.one_box","text":"","code":"dfop_pred <- one_box(\"DFOP\", parms = c(k1 = 0.2, k2 = 0.02, g = 0.7)) plot(dfop_pred) plot(sawtooth(dfop_pred, 3, 7), max_twa = 21) # Use a fitted mkinfit model m_2 <- mkinmod(parent = mkinsub(\"SFO\", \"m1\"), m1 = mkinsub(\"SFO\")) #> Temporary DLL for differentials generated and loaded fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) #> Warning: Observations with value of zero were removed from the data pred_2 <- one_box(fit_2, ini = 1) pred_2_saw <- sawtooth(pred_2, 2, 7) plot(pred_2_saw, max_twa = 21, max_twa_var = \"m1\")"},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":null,"dir":"Reference","previous_headings":"","what":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"Read TOXSWA hourly concentrations chemical substance specific segment TOXSWA surface water body. Per default, data last segment imported. TOXSWA 4 reports values end hour (ConLiqWatLayCur) summary file, use value well instead hourly averages (ConLiqWatLay). TOXSWA 5.5.3 variable renamed ConLiqWatLay file.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"","code":"read.TOXSWA_cwa( filename, basedir = \".\", zipfile = NULL, segment = \"last\", substance = \"parent\", total = FALSE, windows = NULL, thresholds = NULL )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"filename filename cwa file (TOXSWA 2.x.y similar) file using FOCUS TOXSWA 4 (.e. TOXSWA 4.4.2) higher. basedir path directory cwa file resides. zipfile Optional path zip file containing cwa file. segment segment data read. Either \"last\", segment number. substance .files, default value \"parent\" leads reading concentrations parent compound. Alternatively, substance interested can selected code name. total Set TRUE order read total concentrations well. necessary .files generated TOXSWA 4.4.2 similar, .cwa files. .cwa files, total concentration always read well. windows Numeric vector width moving windows days, calculating maximum time weighted average concentrations areas curve. thresholds Numeric vector threshold concentrations µg/L generating event statistics.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"instance R6 object class TOXSWA_cwa.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"Johannes Ranke","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Read TOXSWA surface water concentrations — read.TOXSWA_cwa","text":"","code":"H_sw_D4_pond <- read.TOXSWA_cwa(\"00001p_pa.cwa\", basedir = \"SwashProjects/project_H_sw/TOXSWA\", zipfile = system.file(\"testdata/SwashProjects.zip\", package = \"pfm\"))"},{"path":"https://pkgdown.jrwb.de/pfm/reference/reexports.html","id":null,"dir":"Reference","previous_headings":"","what":"Objects exported from other packages — reexports","title":"Objects exported from other packages — reexports","text":"objects imported packages. Follow links see documentation. mkin set_nd_nq, set_nd_nq_focus","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":null,"dir":"Reference","previous_headings":"","what":"Create decline time series for multiple applications — sawtooth","title":"Create decline time series for multiple applications — sawtooth","text":"application pattern specified applications, n disregarded.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create decline time series for multiple applications — sawtooth","text":"","code":"sawtooth( x, n = 1, i = 365, applications = data.frame(time = seq(0, (n - 1) * i, length.out = n), amount = 1) )"},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create decline time series for multiple applications — sawtooth","text":"x one_box object n number applications. applications specified, n ignored interval applications. applications specified, ignored applications data frame holding application times first column corresponding amounts applied second column.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/sawtooth.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create decline time series for multiple applications — sawtooth","text":"","code":"applications = data.frame(time = seq(0, 14, by = 7), amount = c(1, 2, 3)) pred <- one_box(10) plot(sawtooth(pred, applications = applications)) m_2 <- mkinmod(parent = mkinsub(\"SFO\", \"m1\"), m1 = mkinsub(\"SFO\")) #> Temporary DLL for differentials generated and loaded fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) #> Warning: Observations with value of zero were removed from the data pred_2 <- one_box(fit_2, ini = 1) pred_2_saw <- sawtooth(pred_2, 2, 7) plot(pred_2_saw, max_twa = 21, max_twa_var = \"m1\") max_twa(pred_2_saw) #> $max #> parent m1 #> 0.7834481 0.8617049 #> #> $window_start #> parent m1 #> 0.00 26.85 #> #> $window_end #> parent m1 #> 21.00 47.85 #>"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":null,"dir":"Reference","previous_headings":"","what":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"Properties predefined scenarios used Tier 1, Tier 2A Tier 3A concentration soil given EFSA guidance (2015, p. 13/14). Also, scenario model adjustment factors p. 15 p. 17 included.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"","code":"soil_scenario_data_EFSA_2015"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"data frame one row scenario. Row names scenario codes, e.g. CTN Northern scenario total concentration soil. Columns mostly self-explanatory. rho dry bulk density top soil.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"EFSA (European Food Safety Authority) (2015) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 13(4) 4093 doi:10.2903/j.efsa.2015.4093","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Properties of the predefined scenarios from the EFSA guidance from 2015 — soil_scenario_data_EFSA_2015","text":"","code":"soil_scenario_data_EFSA_2015 #> Zone Country T_arit T_arr Texture f_om theta_fc rho f_sce #> CTN North Estonia 4.7 7.0 Coarse 0.118 0.244 0.95 3.0 #> CTC Central Germany 8.0 10.1 Coarse 0.086 0.244 1.05 2.0 #> CTS South France 11.0 12.3 Medium fine 0.048 0.385 1.22 2.0 #> CLN North Denmark 8.2 9.8 Medium 0.023 0.347 1.39 2.0 #> CLC Central Czech Republik 9.1 11.2 Medium 0.018 0.347 1.43 1.5 #> CLS South Spain 12.8 14.7 Medium 0.011 0.347 1.51 1.5 #> f_mod #> CTN 2 #> CTC 2 #> CTS 2 #> CLN 4 #> CLC 4 #> CLS 4"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":null,"dir":"Reference","previous_headings":"","what":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"Properties predefined scenarios used Tier 1, Tier 2A Tier 3A concentration soil given EFSA guidance (2017, p. 14/15). Also, scenario model adjustment factors p. 16 p. 18 included.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"","code":"soil_scenario_data_EFSA_2017"},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"data frame one row scenario. Row names scenario codes, e.g. CTN Northern scenario total concentration soil. Columns mostly self-explanatory. rho dry bulk density top soil.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"EFSA (European Food Safety Authority) (2017) EFSA guidance document predicting environmental concentrations active substances plant protection products transformation products active substances soil. EFSA Journal 15(10) 4982 doi:10.2903/j.efsa.2017.4982","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Properties of the predefined scenarios from the EFSA guidance from 2017 — soil_scenario_data_EFSA_2017","text":"","code":"soil_scenario_data_EFSA_2017 #> Zone Country T_arit T_arr Texture f_om theta_fc rho f_sce f_mod #> CTN North Estonia 5.7 7.6 Coarse 0.220 0.244 0.707 1.4 3 #> CTC Central Poland 7.4 9.3 Coarse 0.122 0.244 0.934 1.4 3 #> CTS South France 10.2 11.7 Medium 0.070 0.349 1.117 1.4 3 #> CLN North Denmark 8.0 9.2 Medium 0.025 0.349 1.371 1.6 4 #> CLC Central Austria 9.3 11.3 Medium 0.018 0.349 1.432 1.6 4 #> CLS South Spain 15.4 16.7 Medium 0.010 0.349 1.521 1.6 4 #> FOCUS_zone prec #> CTN Hamburg 639 #> CTC Hamburg 617 #> CTS Hamburg 667 #> CLN Hamburg 602 #> CLC Châteaudun 589 #> CLS Sevilla 526 waldo::compare(soil_scenario_data_EFSA_2017, soil_scenario_data_EFSA_2015) #> `old` is length 12 #> `new` is length 10 #> #> `names(old)[8:12]`: \"rho\" \"f_sce\" \"f_mod\" \"FOCUS_zone\" \"prec\" #> `names(new)[8:10]`: \"rho\" \"f_sce\" \"f_mod\" #> #> `old$Country`: \"Estonia\" \"Poland\" \"France\" \"Denmark\" \"Austria\" \"Spain\" #> `new$Country`: \"Estonia\" \"Germany\" \"France\" \"Denmark\" \"Czech Republik\" \"Spain\" #> #> `old$T_arit`: 5.7 7.4 10.2 8.0 9.3 15.4 #> `new$T_arit`: 4.7 8.0 11.0 8.2 9.1 12.8 #> #> `old$T_arr`: 7.6 9.3 11.7 9.2 11.3 16.7 #> `new$T_arr`: 7.0 10.1 12.3 9.8 11.2 14.7 #> #> `old$Texture`: \"Coarse\" \"Coarse\" \"Medium\" \"Medium\" \"Medium\" \"Medium\" #> `new$Texture`: \"Coarse\" \"Coarse\" \"Medium fine\" \"Medium\" \"Medium\" \"Medium\" #> #> `old$f_om`: 0.220 0.122 0.070 0.025 0.018 0.010 #> `new$f_om`: 0.118 0.086 0.048 0.023 0.018 0.011 #> #> `old$theta_fc`: 0.244 0.244 0.349 0.349 0.349 0.349 #> `new$theta_fc`: 0.244 0.244 0.385 0.347 0.347 0.347 #> #> `old$rho`: 0.707 0.934 1.117 1.371 1.432 1.521 #> `new$rho`: 0.950 1.050 1.220 1.390 1.430 1.510 #> #> `old$f_sce`: 1.4 1.4 1.4 1.6 1.6 1.6 #> `new$f_sce`: 3.0 2.0 2.0 2.0 1.5 1.5 #> #> And 3 more differences ..."},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate a time weighted average concentration — twa","title":"Calculate a time weighted average concentration — twa","text":"moving average built using values past, earliest possible time maximum time series returned one window passed.","code":""},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculate a time weighted average concentration — twa","text":"","code":"twa(x, window = 21) # S3 method for one_box twa(x, window = 21)"},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculate a time weighted average concentration — twa","text":"x object type one_box window size moving window","code":""},{"path":[]},{"path":"https://pkgdown.jrwb.de/pfm/reference/twa.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculate a time weighted average concentration — twa","text":"","code":"pred <- sawtooth(one_box(10), applications = data.frame(time = c(0, 7), amount = c(1, 1))) max_twa(pred) #> $max #> parent #> 0.9537545 #> #> $window_start #> parent #> 0 #> #> $window_end #> parent #> 21 #>"},{"path":"https://pkgdown.jrwb.de/pfm/news/index.html","id":"version-063","dir":"Changelog","previous_headings":"","what":"version 0.6.3","title":"version 0.6.3","text":"R/{PEC_sw_drift,PEC_sw_exposit_runoff,PEC_sw_sed}.R: Make use units package. R/PEC_sw_drift.R: Change argument name ‘crop_group_focus’ ‘crop_group_RF’, order make easier understand relation ‘drift_data’ argument.","code":""}]
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 2ec8e59..8dc19ce 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -1,132 +1,47 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/404.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/authors.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/index.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/GUS.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/TSCF.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/endpoint.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/geomean.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/get_vertex.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/index.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/max_twa.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/one_box.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/reexports.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/sawtooth.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html</loc>
- </url>
- <url>
- <loc>https://pkgdown.jrwb.de/pfm/reference/twa.html</loc>
- </url>
+<urlset xmlns = 'http://www.sitemaps.org/schemas/sitemap/0.9'>
+<url><loc>https://pkgdown.jrwb.de/pfm/404.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/authors.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/index.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/news/index.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/EFSA_GW_interception_2014.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/EFSA_washoff_2017.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/FOCUS_GW_scenarios_2012.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/FOCUS_Step_12_scenarios.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/FOMC_actual_twa.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/GUS.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_FOMC_accu_rel.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_soil_mets.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drainage_UK.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_focus.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/PEC_sw_sed.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/SFO_actual_twa.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/SSLRC_mobility_classification.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/TSCF.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/chent_focus_sw.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/drift_data_JKI.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/drift_parameters_focus.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/drift_percentages_rautmann.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/endpoint.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/geomean.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/get_vertex.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/index.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/max_twa.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/one_box.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/perc_runoff_exposit.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/perc_runoff_reduction_exposit.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/pfm_degradation.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/plot.TOXSWA_cwa.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/plot.one_box.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/read.TOXSWA_cwa.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/reexports.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/sawtooth.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2015.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/soil_scenario_data_EFSA_2017.html</loc></url>
+<url><loc>https://pkgdown.jrwb.de/pfm/reference/twa.html</loc></url>
</urlset>
+
diff --git a/inst/data_generation/PEC_sw_exposit.R b/inst/data_generation/PEC_sw_exposit.R
index f7d9737..25d603d 100644
--- a/inst/data_generation/PEC_sw_exposit.R
+++ b/inst/data_generation/PEC_sw_exposit.R
@@ -1,4 +1,6 @@
library(here)
+library(units)
+library(tibble)
# Runoff percentages
Koc_breaks <- c(0, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 20000, 50000, Inf)
@@ -7,7 +9,8 @@ Koc_classes <- c(tmp[1], paste0(">", tmp[2:11]), ">50000")
perc_runoff_exposit <- data.frame(
Koc_lower_bound = Koc_breaks[1:12],
dissolved = c(0.11, 0.151, 0.197, 0.248, 0.224, 0.184, 0.133, 0.084, 0.037, 0.031, 0.014, 0.001),
- bound = c(0, 0, 0, 0.001, 0.004, 0.020, 0.042, 0.091, 0.159, 0.192, 0.291, 0.451))
+ bound = c(0, 0, 0, 0.001, 0.004, 0.020, 0.042, 0.091, 0.159, 0.192, 0.291, 0.451)) |>
+ mutate(Koc_lower_bound = set_units(Koc_lower_bound, "L/kg"))
rownames(perc_runoff_exposit) <- Koc_classes
# Runoff reduction percentages
@@ -30,5 +33,5 @@ perc_runoff_reduction_exposit <- list(
row.names = c("No buffer", "20 m"))
)
-save(perc_runoff_exposit, perc_runoff_reduction_exposit,
- file = here("data/perc_runoff.RData"))
+save(perc_runoff_exposit, file = here("data/perc_runoff_exposit.RData"))
+save(perc_runoff_reduction_exposit, file = here("data/perc_runoff_reduction_exposit.RData"))
diff --git a/log/build.log b/log/build.log
index edca7f6..b92f348 100644
--- a/log/build.log
+++ b/log/build.log
@@ -3,5 +3,9 @@
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
+<<<<<<< HEAD
+=======
+* re-saving image files
+>>>>>>> main
* building ‘pfm_0.6.3.tar.gz’
diff --git a/log/check.log b/log/check.log
index f6d14ce..301028e 100644
--- a/log/check.log
+++ b/log/check.log
@@ -1,6 +1,12 @@
+<<<<<<< HEAD
* using log directory ‘/home/jranke/git/pfm/pfm.Rcheck’
* using R version 4.3.3 (2024-02-29)
* using platform: x86_64-pc-linux-gnu (64-bit)
+=======
+* using log directory ‘/home/agsad.admin.ch/f80868656/projects/pfm/pfm.Rcheck’
+* using R version 4.4.1 (2024-06-14)
+* using platform: x86_64-pc-linux-gnu
+>>>>>>> main
* R was compiled by
gcc (Debian 12.2.0-14) 12.2.0
GNU Fortran (Debian 12.2.0-14) 12.2.0
@@ -11,10 +17,17 @@
* checking extension type ... Package
* this is package ‘pfm’ version ‘0.6.3’
* package encoding: UTF-8
+<<<<<<< HEAD
* checking CRAN incoming feasibility ... [1s/103s] NOTE
Maintainer: ‘Johannes Ranke <johannes.ranke@agroscope.admin.ch>’
Size of tarball: 8530180 bytes
+=======
+* checking CRAN incoming feasibility ... NOTE
+Maintainer: ‘Johannes Ranke <johannes.ranke@agroscope.admin.ch>’
+
+Size of tarball: 8531409 bytes
+>>>>>>> main
* checking package namespace information ... OK
* checking package dependencies ...Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
@@ -34,11 +47,12 @@ Size of tarball: 8530180 bytes
* checking for future file timestamps ... NOTE
unable to verify current time
* checking DESCRIPTION meta-information ... OK
-* checking top-level files ... OK
+* checking top-level files ... NOTE
+Files ‘README.md’ or ‘NEWS.md’ cannot be checked without ‘pandoc’ being installed.
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
-* checking R files for non-ASCII characters ... OK
+* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
@@ -65,7 +79,7 @@ unable to verify current time
* checking data for non-ASCII characters ... OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
-* checking examples ... OK
+* checking examples ... [21s/11s] OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... SKIPPED
* checking PDF version of manual ... OK
@@ -80,4 +94,3 @@ See
‘/home/jranke/git/pfm/pfm.Rcheck/00check.log’
for details.
-
diff --git a/log/test.log b/log/test.log
index 8393cf9..919c91f 100644
--- a/log/test.log
+++ b/log/test.log
@@ -2,17 +2,29 @@
✔ | F W S OK | Context
✔ | 7 | Exposit calculations
✔ | 6 | Geometric mean calculation
+<<<<<<< HEAD
✔ | 1 | Check max_twa for parent mkinfit models against analytical solutions
+=======
+✔ | 1 | Check max_twa for parent mkinfit models against analytical solutions [1.2s]
+>>>>>>> main
✔ | 1 | Simple PEC sediment calculations
✔ | 17 | Simple PEC soil calculations
-✔ | 7 | Simple PEC surface water calculations with drift entry
+✔ | 8 | Simple PEC surface water calculations with drift entry
✔ | 1 | Actual and time weighted average concentrations for SFO kinetics
✔ | 9 | FOCUS Step 1 calculations
✔ | 8 | FOCUS Steps 12 input files
+<<<<<<< HEAD
✔ | 7 | Read and analyse TOXSWA cwa files [4.2s]
✔ | 12 | UK drainage PEC calculations
══ Results ═════════════════════════════════════════════════════════════════════════════════════════
Duration: 5.5 s
+=======
+✔ | 7 | Read and analyse TOXSWA cwa files [4.3s]
+✔ | 12 | UK drainage PEC calculations
+
+══ Results ═════════════════════════════════════════════════════════════════════════════════════════
+Duration: 6.3 s
+>>>>>>> main
-[ FAIL 0 | WARN 0 | SKIP 0 | PASS 76 ]
+[ FAIL 0 | WARN 0 | SKIP 0 | PASS 77 ]
diff --git a/man/PEC_sw_drift.Rd b/man/PEC_sw_drift.Rd
index a24b783..771687e 100644
--- a/man/PEC_sw_drift.Rd
+++ b/man/PEC_sw_drift.Rd
@@ -7,7 +7,7 @@
PEC_sw_drift(
rate,
applications = 1,
- water_depth = 30,
+ 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",
@@ -16,14 +16,15 @@ PEC_sw_drift(
"fruit, early", "aerial"),
distances = c(1, 5, 10, 20),
formula = c("Rautmann", "FOCUS"),
- water_width = 100,
+ water_width = as_units("100 cm"),
side_angle = 90,
rate_units = "g/ha",
PEC_units = "µg/L"
)
}
\arguments{
-\item{rate}{Application rate in units specified below}
+\item{rate}{Application rate in units specified below, or with units defined via the
+\code{units} package.}
\item{applications}{Number of applications for selection of drift percentile}
@@ -53,7 +54,8 @@ calculated as described in Chapter 5.4.5 of the FOCUS surface water guidance}
\item{side_angle}{The angle of the side of the water relative to the bottom which
is assumed to be horizontal, in degrees. The SYNOPS model assumes 45 degrees here.}
-\item{rate_units}{Defaults to g/ha}
+\item{rate_units}{Defaults to g/ha. For backwards compatibility, only used
+if the specified rate does not have \link[units:units]{units::units}].}
\item{PEC_units}{Requested units for the calculated PEC. Only µg/L currently supported}
}
@@ -65,6 +67,10 @@ This is a basic, vectorised form of a simple calculation of a contaminant
concentration in surface water based on complete, instantaneous mixing
with input via spray drift.
}
+\details{
+It is recommened to specify the arguments \code{rate}, \code{water_depth} and
+\code{water_width} using \link[units:units]{units::units} from the \code{units} package.
+}
\examples{
PEC_sw_drift(100)
# Alternatively, we can use the formula for a single application to
diff --git a/man/PEC_sw_exposit_drainage.Rd b/man/PEC_sw_exposit_drainage.Rd
index b145d5c..2917f8a 100644
--- a/man/PEC_sw_exposit_drainage.Rd
+++ b/man/PEC_sw_exposit_drainage.Rd
@@ -1,5 +1,5 @@
% Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/PEC_sw_exposit_runoff.R
+% Please edit documentation in R/PEC_sw_exposit.R
\name{PEC_sw_exposit_drainage}
\alias{PEC_sw_exposit_drainage}
\title{Calculate PEC surface water due to drainage as in Exposit 3}
diff --git a/man/PEC_sw_exposit_runoff.Rd b/man/PEC_sw_exposit_runoff.Rd
index fca5553..393ed29 100644
--- a/man/PEC_sw_exposit_runoff.Rd
+++ b/man/PEC_sw_exposit_runoff.Rd
@@ -1,5 +1,5 @@
% Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/PEC_sw_exposit_runoff.R
+% Please edit documentation in R/PEC_sw_exposit.R
\name{PEC_sw_exposit_runoff}
\alias{PEC_sw_exposit_runoff}
\title{Calculate PEC surface water due to runoff and erosion as in Exposit 3}
@@ -12,11 +12,11 @@ PEC_sw_exposit_runoff(
rate,
interception = 0,
Koc,
- DT50 = Inf,
- t_runoff = 3,
+ DT50 = set_units(Inf, "d"),
+ t_runoff = set_units(3, "days"),
exposit_reduction_version = c("3.02", "3.01a", "3.01a2", "2.0"),
- V_ditch = 30,
- V_event = 100,
+ V_ditch = set_units(30, "m3"),
+ V_event = set_units(100, "m3"),
dilution = 2
)
}
@@ -56,6 +56,10 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic
This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file,
in the worksheet "Konzept Runoff".
}
+\details{
+It is recommened to specify the arguments \code{rate}, \code{Koc}, \code{DT50}, \code{t_runoff}, \code{V_ditch} and \code{V_event}
+using \link[units:units]{units::units} from the \code{units} package.
+}
\examples{
PEC_sw_exposit_runoff(500, Koc = 150)
PEC_sw_exposit_runoff(600, Koc = 10000, DT50 = 195, exposit = "3.01a")
diff --git a/man/PEC_sw_sed.Rd b/man/PEC_sw_sed.Rd
index bc82ee3..0ebfd28 100644
--- a/man/PEC_sw_sed.Rd
+++ b/man/PEC_sw_sed.Rd
@@ -9,9 +9,9 @@ PEC_sw_sed(
PEC_sw,
percentage = 100,
method = "percentage",
- sediment_depth = 5,
- water_depth = 30,
- sediment_density = 1.3,
+ sediment_depth = set_units(5, "cm"),
+ water_depth = set_units(30, "cm"),
+ sediment_density = set_units(1.3, "kg/L"),
PEC_sed_units = c("µg/kg", "mg/kg")
)
}
@@ -27,7 +27,7 @@ which the corresponding sediment concentration is to be estimated}
\item{water_depth}{Depth of the water body in cm}
-\item{sediment_density}{The density of the sediment in L/kg (equivalent to
+\item{sediment_density}{The density of the sediment in kg/L (equivalent to
g/cm3)}
\item{PEC_sed_units}{The units of the estimated sediment PEC value}
@@ -40,6 +40,8 @@ The method 'percentage' is equivalent to what is used in the CRD spreadsheet
PEC calculator
}
\examples{
+library(pfm)
+library(units)
PEC_sw_sed(PEC_sw_drift(100, distances = 1), percentage = 50)
}
\author{
diff --git a/man/perc_runoff_exposit.Rd b/man/perc_runoff_exposit.Rd
index 47ea586..e30ab73 100644
--- a/man/perc_runoff_exposit.Rd
+++ b/man/perc_runoff_exposit.Rd
@@ -1,5 +1,5 @@
% Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/PEC_sw_exposit_runoff.R
+% Please edit documentation in R/PEC_sw_exposit.R
\docType{data}
\name{perc_runoff_exposit}
\alias{perc_runoff_exposit}
diff --git a/man/perc_runoff_reduction_exposit.Rd b/man/perc_runoff_reduction_exposit.Rd
index 2fc32a6..4514a58 100644
--- a/man/perc_runoff_reduction_exposit.Rd
+++ b/man/perc_runoff_reduction_exposit.Rd
@@ -1,5 +1,5 @@
% Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/PEC_sw_exposit_runoff.R
+% Please edit documentation in R/PEC_sw_exposit.R
\docType{data}
\name{perc_runoff_reduction_exposit}
\alias{perc_runoff_reduction_exposit}
diff --git a/tests/testthat/test_PEC_sed.R b/tests/testthat/test_PEC_sed.R
index 443f789..0681adc 100644
--- a/tests/testthat/test_PEC_sed.R
+++ b/tests/testthat/test_PEC_sed.R
@@ -5,5 +5,7 @@ test_that("PEC_sw_sed calculates correctly using the percentage method", {
# default assumptions of CRD spreadsheet (5 cm sediment depth, 1.3 kg/L sediment density)
# Reference value calculated with CRD spreadsheet
PEC_sw_100_1_m <- PEC_sw_drift(100, distances = 1)
- expect_equivalent(round(PEC_sw_sed(PEC_sw_100_1_m, percentage = 50), 3), 2.131)
+ expect_equivalent(
+ round(PEC_sw_sed(PEC_sw_100_1_m, percentage = 50), 3),
+ set_units(2.131, "µg/kg"))
})
diff --git a/tests/testthat/test_PEC_sw_drift.R b/tests/testthat/test_PEC_sw_drift.R
index 7e3b965..1bcb3d4 100644
--- a/tests/testthat/test_PEC_sw_drift.R
+++ b/tests/testthat/test_PEC_sw_drift.R
@@ -1,22 +1,32 @@
library(pfm)
+library(testthat)
+library(units)
context("Simple PEC surface water calculations with drift entry")
test_that("PEC_sw_drift gives the same results as the CRD PEC calculator", {
# One application of 30 g/ha to field crops calculated with UK PEC calculator published by CRD
- expect_equal(round(PEC_sw_drift(30), 3),
- c('1 m' = 0.277, '5 m' = 0.057, '10 m' = 0.029, '20 m' = 0.015))
+ expect_equal(
+ round(PEC_sw_drift(30), 3),
+ set_units(c('1 m' = 0.277, '5 m' = 0.057, '10 m' = 0.029, '20 m' = 0.015), "\u00B5g/L"))
# 7 applications of 30 g/ha to field crops calculated with UK PEC calculator, initial PEC
- expect_equal(round(PEC_sw_drift(30, 7), 3),
- c('1 m' = 0.161, '5 m' = 0.033, '10 m' = 0.017, '20 m' = 0.008))
+ expect_equal(
+ round(PEC_sw_drift(30, 7), 3),
+ set_units(c('1 m' = 0.161, '5 m' = 0.033, '10 m' = 0.017, '20 m' = 0.008), "\u00B5g/L"))
# 4 applications of 30 g/ha to late fruit crops calculated with UK PEC
# calculator published by CRD. CRD uses different drift values from SANCO aquatic
# guidance), except for 50 m
pfm_30_4_obst_spaet <- round(PEC_sw_drift(30, 4, crop_group_JKI = "Obstbau spaet",
distances = c(3, 20, 50)), 3)
- crd_30_4_obst_spaet <- c('3 m' = 1.101, '20 m' = 0.080, '50 m' = 0.013)
+ crd_30_4_obst_spaet <- set_units(c('3 m' = 1.101, '20 m' = 0.080, '50 m' = 0.013), "µg/L")
expect_equal(pfm_30_4_obst_spaet[3], crd_30_4_obst_spaet[3])
+
+ # Synops scenario with 45 m angle. Mean width is 100 cm - (2 * 15 cm).
+ expect_equal(
+ PEC_sw_drift(100) * 100/70,
+ PEC_sw_drift(100, side_angle = 45)
+ )
})
test_that("The Rautmann formula is correctly implemented", {
diff --git a/tests/testthat/test_exposit.R b/tests/testthat/test_exposit.R
index 13371a6..44337bd 100644
--- a/tests/testthat/test_exposit.R
+++ b/tests/testthat/test_exposit.R
@@ -1,4 +1,7 @@
library(pfm)
+library(units)
+library(dplyr)
+
context("Exposit calculations")
# Expected results are from the Exposit 3.02, downloaded 2019-02-15
@@ -8,12 +11,14 @@ test_that("Runoff PECsw are as in Exposit 3.02", {
runoff = c(183.62, 110.17, 73.45, 36.72),
erosion = c(19.96, 11.98, 2.99, 1.00),
PEC_dissolved = c(0.71, 0.61, 0.52, 0.37),
- PEC_total = c(0.78, 0.68, 0.55, 0.38))
+ PEC_total = c(0.78, 0.68, 0.55, 0.38)) |>
+ mutate(across(c(runoff, erosion), ~ set_units(., "mg"))) |>
+ mutate(across(starts_with("PEC_"), ~ set_units(., "\u00B5g/L")))
res_1 <- PEC_sw_exposit_runoff(100, Koc = 1000, DT50 = 1000)
res_pfm_1 <- data.frame(
- runoff = round(1000 * res_1$runoff["dissolved"], 2),
- erosion = round(1000 * res_1$runoff["bound"], 2),
+ runoff = round(set_units(res_1$runoff[["dissolved"]], "mg"), 2),
+ erosion = round(set_units(res_1$runoff[["bound"]], "mg"), 2),
PEC_dissolved = round(res_1$PEC_sw_runoff, 2)["dissolved"],
PEC_total = round(res_1$PEC_sw_runoff["dissolved"] + res_1$PEC_sw_runoff["bound"], 2))
expect_equivalent(res_exposit_1, res_pfm_1)
@@ -23,12 +28,14 @@ test_that("Runoff PECsw are as in Exposit 3.02", {
runoff = c(0.08, 0.05, 0.03, 0.02),
erosion = c(36.63, 21.98, 5.49, 1.83),
PEC_dissolved = c(0, 0, 0, 0),
- PEC_total = c(0.14, 0.12, 0.04, 0.02))
+ PEC_total = c(0.14, 0.12, 0.04, 0.02)) |>
+ mutate(across(c(runoff, erosion), ~ set_units(., "mg"))) |>
+ mutate(across(starts_with("PEC_"), ~ set_units(., "\u00B5g/L")))
res_2 <- PEC_sw_exposit_runoff(10, Koc = 300000, DT50 = 10)
res_pfm_2 <- data.frame(
- runoff = round(1000 * res_2$runoff["dissolved"], 2),
- erosion = round(1000 * res_2$runoff["bound"], 2),
+ runoff = round(set_units(res_2$runoff[["dissolved"]], "mg"), 2),
+ erosion = round(set_units(res_2$runoff[["bound"]], "mg"), 2),
PEC_dissolved = round(res_2$PEC_sw_runoff, 2)["dissolved"],
PEC_total = round(res_2$PEC_sw_runoff["dissolved"] + res_2$PEC_sw_runoff["bound"], 2))
@@ -39,12 +46,14 @@ test_that("Runoff PECsw are as in Exposit 3.02", {
runoff = c(295.78, 177.47, 118.31, 59.16),
erosion = rep(0.00, 4),
PEC_dissolved = c(1.14, 0.99, 0.85, 0.59),
- PEC_total = c(1.14, 0.99, 0.85, 0.59))
+ PEC_total = c(1.14, 0.99, 0.85, 0.59)) |>
+ mutate(across(c(runoff, erosion), ~ set_units(., "mg"))) |>
+ mutate(across(starts_with("PEC_"), ~ set_units(., "\u00B5g/L")))
res_3 <- PEC_sw_exposit_runoff(200, Koc = 30, DT50 = 100)
res_pfm_3 <- data.frame(
- runoff = round(1000 * res_3$runoff["dissolved"], 2),
- erosion = round(1000 * res_3$runoff["bound"], 2),
+ runoff = round(set_units(res_3$runoff[["dissolved"]], "mg"), 2),
+ erosion = round(set_units(res_3$runoff[["bound"]], "mg"), 2),
PEC_dissolved = round(res_3$PEC_sw_runoff, 2)["dissolved"],
PEC_total = round(res_3$PEC_sw_runoff["dissolved"] + res_3$PEC_sw_runoff["bound"], 2))

Contact - Imprint