aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2018-09-22 09:54:59 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2018-09-22 09:54:59 +0200
commit8452daa2015aa645dcc1eca3ec2bba5726603e4e (patch)
tree579e7f36c1ac234ddb0cbdc7cf359d784be5e779 /man
parentff7e67a4d3415419dd3f712ef1af7467ebf65508 (diff)
Add test and update docs
Diffstat (limited to 'man')
-rw-r--r--man/PEC_FOMC_accu_rel.Rd21
-rw-r--r--man/PEC_soil.Rd6
-rw-r--r--man/get_vertex.Rd12
3 files changed, 36 insertions, 3 deletions
diff --git a/man/PEC_FOMC_accu_rel.Rd b/man/PEC_FOMC_accu_rel.Rd
new file mode 100644
index 0000000..ab0ddd9
--- /dev/null
+++ b/man/PEC_FOMC_accu_rel.Rd
@@ -0,0 +1,21 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/PEC_soil.R
+\name{PEC_FOMC_accu_rel}
+\alias{PEC_FOMC_accu_rel}
+\title{Get the relative accumulation of an FOMC model over multiples of an interval}
+\usage{
+PEC_FOMC_accu_rel(n, interval, FOMC)
+}
+\arguments{
+\item{n}{number of applications}
+
+\item{interval}{Time between applications}
+
+\item{FOMC}{Named numeric vector containing the FOMC parameters alpha and beta}
+}
+\value{
+A numeric vector containing all n accumulation factors for the n applications
+}
+\description{
+Get the relative accumulation of an FOMC model over multiples of an interval
+}
diff --git a/man/PEC_soil.Rd b/man/PEC_soil.Rd
index c8c93ac..e85f33c 100644
--- a/man/PEC_soil.Rd
+++ b/man/PEC_soil.Rd
@@ -35,7 +35,7 @@ units are in days}
\item{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
+takes place. By default, losses from the layer down to the tillage
depth are taken into account in this implementation.}
\item{crop}{Ignored for scenarios other than EFSA_2017. Only annual crops
@@ -53,7 +53,7 @@ also be a name for the substance as a character string}
If DT50 is not specified here and not available from the chent object, zero
degradation is assumed}
-\item{FOMC}{If specified, it should be a named numeric vector containing
+\item{FOMC}{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}
@@ -111,7 +111,7 @@ According to the EFSA guidance (EFSA, 2017, p. 43), leaching should be
taken into account for the EFSA 2017 scenarios, using the evaluation depth
(here mixing depth) as the depth of the layer from which leaching takes
place. However, as the amount leaching below the evaluation depth
- (often 5 cm) will partly be mixed back during tillage, the default in this function
+ (often 5 cm) will partly be mixed back during tillage, the default in this function
is to use the tillage depth for the calculation of the leaching rate.
If temperature information is available in the selected scenarios, as
diff --git a/man/get_vertex.Rd b/man/get_vertex.Rd
new file mode 100644
index 0000000..fe2f5c0
--- /dev/null
+++ b/man/get_vertex.Rd
@@ -0,0 +1,12 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/PEC_soil.R
+\name{get_vertex}
+\alias{get_vertex}
+\title{Fit a parabola through three points}
+\usage{
+get_vertex(x, y)
+}
+\description{
+This was inspired by an answer on stackoverflow
+https://stackoverflow.com/a/717791
+}

Contact - Imprint