From 6acfd0dfb2670e3eeab6144c90586f28105583a8 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
You can install the package from github, e.g. using the devtools
package. Using quick = TRUE
skips docs, multiple-architecture builds, demos, and vignettes, to make installation as fast and painless as possible.
The easiest way to install the package is probably to use drat:
+install.packages("drat")
+drat::addRepo("jranke")
+install.packages("pfm")
Alternatively you can install the package using the devtools
package. Using quick = TRUE
skips docs, multiple-architecture builds, demos, and vignettes.
library(devtools)
install_github("jranke/pfm", quick = TRUE)
You can install the package from github, e.g. using the devtools
package. Using quick = TRUE
skips docs, multiple-architecture builds, demos, and vignettes, to make installation as fast and painless as possible.
The easiest way to install the package is probably to use drat:
+install.packages("drat")
+drat::addRepo("jranke")
+install.packages("pfm")
+Alternatively you can install the package using the devtools
package. Using quick = TRUE
skips docs, multiple-architecture builds, demos, and vignettes.
library(devtools)
install_github("jranke/pfm", quick = TRUE)
Period of the deeper mixing, defaults to 365, which is a year if -rate units are in days
R/TOXSWA_cwa.R
TOXSWA_cwa.Rd
An R6 class for holding TOXSWA cwa concentration data and some associated statistics. +
An R6 class for holding TOXSWA water concentration (cwa) data and some associated statistics.
Usually, an instance of this class will be generated by read.TOXSWA_cwa
.
R6 class for holding TOXSWA cwa concentration data and associated statistics
R6 class for holding TOXSWA water concentration data and associated statistics
The filename of the cwa file (TOXSWA 2.x.y or similar) or the -out file (FOCUS TOXSWA 4, i.e. TOXSWA 4.4.2 or similar).
For TOXSWA 4 .out files, the default value "parent" leads +
For .out files, the default value "parent" leads to reading concentrations of the parent compound. Alternatively, the substance of interested can be selected by its code name.
The easiest way to install the package is probably to use drat:
+The easiest way to install the package is probably to use drat:
install.packages("drat")
drat::addRepo("jranke")
install.packages("pfm")
This is a basic calculation of a contaminant concentration in bulk soil -based on complete, instantaneous mixing. If an interval is given, an +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 for example in the PPR panel opinion (EFSA 2012).
+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).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, chent = NA, DT50 = NA, + n_periods = Inf, tillage_depth = 20, leaching_depth = tillage_depth, + crop = "annual", cultivation = FALSE, chent = NA, DT50 = NA, Koc = NA, Kom = Koc/1.724, t_avg = 0, scenarios = c("default", - "EFSA_2015"), porewater = FALSE)+ "EFSA_2017", "EFSA_2015"), leaching = scenarios == "EFSA_2017", + porewater = FALSE)
tillage_depth | Periodic (see interval) deeper mixing in cm |
+ |
---|---|---|
leaching_depth | +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. |
+ |
crop | +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. |
+ |
cultivation | +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 |
+ |
chent | -An optional chent object holding substance specific information. Can + | An optional chent object holding substance specific information. Can also be a name for the substance as a character string |
leaching | +Should leaching be taken into account? The default is FALSE, +except when the EFSA_2017 scenarios are used. |
|
porewater | @@ -212,14 +240,24 @@ p. 13).Actual and maximum moving window time average concentrations for SFO kinetics |
+ |
+ + | +Actual and maximum moving window time average concentrations for FOMC kinetics |
|
Properties of the predefined scenarios from the EFSA guidance from 2015 |
+ ||
+ + | +Properties of the predefined scenarios from the EFSA guidance from 2017 |
|