blob: 71cd2d979be68c8cc734690654c3c0f411d97ff4 (
plain) (
tree)
|
|
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deposition from spray drift expressed as percent of the applied dose as
published by the JKI — drift_data_JKI • pfm</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha384-cV+rhyOuRHc9Ub/91rihWcGmMmCXDeksTtCihMupQHSsi8GIIRDG0ThDc3HGQFJ3" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<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)." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></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>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">pfm</a>
<span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.5.2</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/jranke/pfm">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<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/master/R/drift_data_JKI.R'><code>R/drift_data_JKI.R</code></a></small>
<div class="hidden name"><code>drift_data_JKI.Rd</code></div>
</div>
<div class="ref-description">
<p>Deposition from spray drift expressed as percent of the applied dose as
published by the German Julius-Kühn Institute (JKI).</p>
</div>
<h2 class="hasAnchor" id="format"><a class="anchor" href="#format"></a>Format</h2>
<p>A list currently containing matrices with spray drift percentage
data for field crops (Ackerbau), and Pome/stone fruit, early and late
(Obstbau frueh, spaet).</p>
<h2 class="hasAnchor" id="source"><a class="anchor" href="#source"></a>Source</h2>
<p>JKI (2010) Spreadsheet 'Tabelle der Abdrifteckwerte.xls', retrieved
from
http://www.jki.bund.de/no_cache/de/startseite/institute/anwendungstechnik/abdrift-eckwerte.html
on 2015-06-11</p>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
<p>The data were extracted from the spreadsheet cited below using the R code
given in the example section. The spreadsheet is not included in the package
as its licence is not clear.</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'>
</div><span class='co'># NOT RUN {</span>
<span class='co'># This is the code that was used to extract the data</span>
<span class='fu'>library</span>(<span class='no'>readxl</span>)
<span class='no'>abdrift_path</span> <span class='kw'><-</span> <span class='st'>"inst/extdata/Tabelle der Abdrifteckwerte.xls"</span>
<span class='no'>JKI_crops</span> <span class='kw'><-</span> <span class='fu'>c</span>(<span class='st'>"Ackerbau"</span>, <span class='st'>"Obstbau frueh"</span>, <span class='st'>"Obstbau spaet"</span>)
<span class='fu'>names</span>(<span class='no'>JKI_crops</span>) <span class='kw'><-</span> <span class='fu'>c</span>(<span class='st'>"Field crops"</span>, <span class='st'>"Pome/stone fruit, early"</span>, <span class='st'>"Pome/stone fruit, late"</span>)
<span class='no'>drift_data_JKI</span> <span class='kw'><-</span> <span class='fu'>list</span>()
<span class='kw'>for</span> (<span class='no'>n</span> <span class='kw'>in</span> <span class='fl'>1</span>:<span class='fl'>8</span>) {
<span class='no'>drift_data_raw</span> <span class='kw'><-</span> <span class='fu'><a href='http://www.rdocumentation.org/packages/readxl/topics/read_excel'>read_excel</a></span>(<span class='no'>abdrift_path</span>, <span class='kw'>sheet</span> <span class='kw'>=</span> <span class='no'>n</span> + <span class='fl'>1</span>, <span class='kw'>skip</span> <span class='kw'>=</span> <span class='fl'>2</span>)
<span class='no'>drift_data</span> <span class='kw'><-</span> <span class='fu'>as.matrix</span>(<span class='no'>drift_data_raw</span>[<span class='fl'>1</span>:<span class='fl'>9</span>, <span class='fl'>2</span>:<span class='fl'>4</span>])
<span class='fu'>dimnames</span>(<span class='no'>drift_data</span>) <span class='kw'><-</span> <span class='fu'>list</span>(<span class='kw'>distance</span> <span class='kw'>=</span> <span class='fu'>as.integer</span>(<span class='no'>drift_data_raw</span>[<span class='fl'>1</span>:<span class='fl'>9</span>, <span class='fl'>1</span>]),
<span class='kw'>crop</span> <span class='kw'>=</span> <span class='no'>JKI_crops</span>)
<span class='no'>drift_data_JKI</span><span class='kw'>[[</span><span class='no'>n</span>]] <span class='kw'><-</span> <span class='no'>drift_data</span>
}
<span class='fu'>save</span>(<span class='no'>drift_data_JKI</span>, <span class='kw'>file</span> <span class='kw'>=</span> <span class='st'>"data/drift_data_JKI.RData"</span>)
<span class='co'># }</span><div class='input'>
<span class='co'># And this is the resulting data</span>
<span class='no'>drift_data_JKI</span></div><div class='output co'>#> [[1]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 2.77 NA NA
#> 3 NA 29.20 15.73
#> 5 0.57 19.89 8.41
#> 10 0.29 11.81 3.60
#> 15 0.20 5.55 1.81
#> 20 0.15 2.77 1.09
#> 30 0.10 1.04 0.54
#> 40 0.07 0.52 0.32
#> 50 0.06 0.30 0.22
#>
#> [[2]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 2.38 NA NA
#> 3 NA 25.53 12.13
#> 5 0.47 16.87 6.81
#> 10 0.24 9.61 3.11
#> 15 0.16 5.61 1.58
#> 20 0.12 2.59 0.90
#> 30 0.08 0.87 0.40
#> 40 0.06 0.40 0.23
#> 50 0.05 0.22 0.15
#>
#> [[3]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 2.01 NA NA
#> 3 NA 23.96 11.01
#> 5 0.41 15.79 6.04
#> 10 0.20 8.96 2.67
#> 15 0.14 4.24 1.39
#> 20 0.10 2.01 0.80
#> 30 0.07 0.70 0.36
#> 40 0.05 0.33 0.21
#> 50 0.04 0.19 0.13
#>
#> [[4]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 1.85 NA NA
#> 3 NA 23.61 10.12
#> 5 0.38 15.42 5.60
#> 10 0.19 8.66 2.50
#> 15 0.13 4.01 1.28
#> 20 0.10 1.89 0.75
#> 30 0.06 0.66 0.35
#> 40 0.05 0.31 0.20
#> 50 0.04 0.17 0.13
#>
#> [[5]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 1.75 NA NA
#> 3 NA 23.12 9.74
#> 5 0.36 15.06 5.41
#> 10 0.18 8.42 2.43
#> 15 0.12 3.83 1.24
#> 20 0.09 1.81 0.72
#> 30 0.06 0.63 0.34
#> 40 0.05 0.30 0.20
#> 50 0.04 0.17 0.13
#>
#> [[6]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 1.64 NA NA
#> 3 NA 22.76 9.21
#> 5 0.34 14.64 5.18
#> 10 0.17 8.04 2.38
#> 15 0.11 3.71 1.20
#> 20 0.09 1.75 0.68
#> 30 0.06 0.61 0.31
#> 40 0.04 0.29 0.17
#> 50 0.03 0.16 0.11
#>
#> [[7]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 1.61 NA NA
#> 3 NA 22.69 9.10
#> 5 0.33 14.45 5.11
#> 10 0.17 7.83 2.33
#> 15 0.11 3.62 1.20
#> 20 0.08 1.71 0.67
#> 30 0.06 0.60 0.30
#> 40 0.04 0.28 0.17
#> 50 0.03 0.16 0.11
#>
#> [[8]]
#> crop
#> distance Ackerbau Obstbau frueh Obstbau spaet
#> 1 1.52 NA NA
#> 3 NA 22.24 8.66
#> 5 0.31 14.09 4.92
#> 10 0.16 7.58 2.29
#> 15 0.11 3.48 1.14
#> 20 0.08 1.65 0.65
#> 30 0.05 0.57 0.29
#> 40 0.04 0.27 0.16
#> 50 0.03 0.15 0.11
#> </div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#format">Format</a></li>
<li><a href="#source">Source</a></li>
<li><a href="#details">Details</a></li>
<li><a href="#examples">Examples</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://pkgdown.r-lib.org/">pkgdown</a>.</p>
</div>
</footer>
</div>
</body>
</html>
|