1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
<!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>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><link href="deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet">
<link href="deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet">
<script src="deps/headroom-0.11.0/headroom.min.js"></script><script src="deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="deps/search-1.0.0/fuse.min.js"></script><script src="deps/search-1.0.0/mark.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 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.4</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="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-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://pkgdown.jrwb.de/pfm/"><img src="https://img.shields.io/badge/docs-jrwb.de-blue.svg" alt="Online documentation"></a> <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&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 simple routines for calculating predicted environmental concentrations (PEC) and some routines for dealing with FOCUS pesticide fate modelling tools made available under the GNU public license.</p>
<p>More specifically, <strong>pfm</strong> includes facilities for simple one-box modelling of the <a href="https://pkgdown.jrwb.de/pfm/reference/sawtooth.html">saw-tooth</a>-like curves resulting from multiple repeated applications, for calculation of <a href="https://pkgdown.jrwb.de/pfm/reference/PEC_soil.html">PEC soil</a> based on the 1997 SANCO guidance and the first tiers of the EFSA PEC soil guidance from 2012 and 2015, as well as some functions for calculating <a href="https://pkgdown.jrwb.de/pfm/reference/sawtooth.html">PEC surface water</a>. The <a href="https://pkgdown.jrwb.de/pfm/reference/PEC_sw_drift.html">PEC drift</a> calculations can be based on the Rautmann drift percentiles published by JKI, the exponential formulas published by Rautmann to inter- or extrapolate to arbitrary distances, or on the integrated Rautmann formulas (integrated over the width of the surface water body) used in FOCUS drift calculations.</p>
<p>For PEC drainage calculations, the methods used by the <a href="https://pkgdown.jrwb.de/pfm/reference/PEC_drainage_UK.html">UK at tier 1</a> and by <a href="https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_drainage.html">Germany</a> are implemented. For runoff, the <a href="https://pkgdown.jrwb.de/pfm/reference/PEC_sw_exposit_runoff.html">German</a> method used at tier 1 is available.</p>
<p>The output of FOCUS TOXSWA calculations can be read in, plotted, and evaluated using the <a href="https://pkgdown.jrwb.de/pfm/reference/TOXSWA_cwa.html">TOXSWA cwa</a> class giving maximum time weighted average concentrations and peak statistics way as available when using the <a href="https://www.rifcon.com/en/downloads/software-2/" class="external-link">EPAT</a> tool.</p>
<div class="section level2">
<h2 id="installation">Installation<a class="anchor" aria-label="anchor" href="#installation"></a>
</h2>
<p>The easiest way to install the package is probably to use the <a href="https://jranke.r-universe.dev/pfm" class="external-link">r-universe repo</a>:</p>
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html" class="external-link">install.packages</a></span><span class="op">(</span><span class="st">"pfm"</span>,</span>
<span> repos <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">"https://jranke.r-universe.dev"</span>, <span class="st">"https://cran.r-project.org"</span><span class="op">)</span><span class="op">)</span></span></code></pre></div>
<p>The packages at R-universe are provided with a slight delay. Alternatively, you can install the package directly from github, e.g. by using <a href="https://pak.r-lib.org" class="external-link"><code>pak</code></a>.</p>
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co"># install.packages("pak")</span></span>
<span><span class="fu">pak</span><span class="fu">::</span><span class="fu">pak</span><span class="op">(</span><span class="st">"jranke/pfm"</span><span class="op">)</span></span></code></pre></div>
</div>
<div class="section level2">
<h2 id="use">Use<a class="anchor" aria-label="anchor" href="#use"></a>
</h2>
<p>Please refer to the <a href="http://pkgdown.jrwb.de/pfm/reference/index.html" class="external-link">reference</a>.</p>
</div>
<div class="section level2">
<h2 id="examples">Examples<a class="anchor" aria-label="anchor" href="#examples"></a>
</h2>
<p>One nice example of the usage of this package is the visualisation of a time weighted average for a sawtooth curve obtained from several overlays of mkinfit predictions as shown <a href="http://pkgdown.jrwb.de/pfm/reference/plot.one_box.html" class="external-link">here</a>.</p>
</div>
<div class="section level2">
<h2 id="applications">Applications<a class="anchor" aria-label="anchor" href="#applications"></a>
</h2>
<p>Calculations of predicted environmental concentrations using this package have been used in some publications by Agroscope.</p>
<table class="table">
<tr>
<td>
Korkaric M, Lehto M, Poiger T, de Baan L, Mathis M, Ammann L, Hanke I, Balmer M, Blom JF (2023) Risikoindikatoren für Pflanzenschutzmittel: weiterführende Analysen zur Berechnung. Agroscope Science, 154, 1-48, <a href="https://doi.org/10.34776/as154g" class="external-link">doi:10.34776/as154g</a>
</td>
</tr>
<tr>
<td>
Korkaric M, Ammann L, Hanke I, Schneuwly J, Lehto M, Poiger T, de Baan L, Daniel O, Blom JF (2022) Neue Pflanzenschutzmittel-Risikoindikatoren für die Schweiz. Agrarforschung Schweiz 13, 1-10, <a href="https://doi.org/10.34776/afs13-1" class="external-link">doi:10.34776/afs13-1</a>
</td>
</tr>
<tr>
<td>
Korkaric M, Hanke I, Grossar D, Neuweiler R, Christ B, Wirth J, Hochstrasser M, Dubuis PH, Kuster T, Breitenmoser S, Egger B, Perren S, Schürch S, Aldrich A, Jeker L, Poiger T, Daniel O (2020) Datengrundlage und Kriterien für eine Einschränkung der PSM-Auswahl im ÖLN: Schutz der Oberflächengewässer, der Bienen und des Grundwassers (Metaboliten), sowie agronomische Folgen der Einschränkungen. Agroscope Science, 106, 2020, 1-31. <a href="https://doi.org/10.34776/as106g" class="external-link">doi:10.34776/as106g</a>
</td>
</tr>
</table>
</div>
</div>
</main><aside class="col-md-3"><div class="links">
<h2 data-toc-skip>Links</h2>
<ul class="list-unstyled">
<li><a href="https://github.com/jranke/pfm/" class="external-link">Browse source code</a></li>
</ul>
</div>
<div class="license">
<h2 data-toc-skip>License</h2>
<ul class="list-unstyled">
<li>GPL</li>
</ul>
</div>
<div class="citation">
<h2 data-toc-skip>Citation</h2>
<ul class="list-unstyled">
<li><a href="authors.html#citation">Citing pfm</a></li>
</ul>
</div>
<div class="developers">
<h2 data-toc-skip>Developers</h2>
<ul class="list-unstyled">
<li>Johannes Ranke <br><small class="roles"> Author, maintainer </small> <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> </li>
<li><a href="authors.html">More about authors...</a></li>
</ul>
</div>
</aside>
</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>
|