aboutsummaryrefslogblamecommitdiff
path: root/docs/reference/drift_data_JKI.html
blob: 9cee8fef83f800a1bb1940d522c900da5861a090 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                              
                                                       










                                                                                                                                                                                                                      

                                                                                                                                                                                                              
 


                                                                                                                                                                                         

                                             
                                     


 

                                                                                                          
 


                                                                                                                


 
                
                                                                                                  




                                                                               

 












                                                                                                         



                                                                                                                             
          
 


                                                      





                                          




                                                 





                                            
           
      






                                
                 


                                                                               
                         

                                                                                                                                                        

          
                                 



                                                                              
          









                                                                                      
                                                                          












                                                                                               






                                                                                                                                                                                                                                                                      
 
                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                






                                                                                                                                                                                                                                                                                                                                                          































































































































                                                                              
                                                                         




               

  

         
 
<!-- 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.4.5</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'>&lt;-</span> <span class='st'>"inst/extdata/Tabelle der Abdrifteckwerte.xls"</span>
  <span class='no'>JKI_crops</span> <span class='kw'>&lt;-</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'>&lt;-</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'>&lt;-</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'>&lt;-</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'>&lt;-</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'>&lt;-</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'>&lt;-</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'>#&gt; [[1]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      2.77            NA            NA
#&gt;       3        NA         29.20         15.73
#&gt;       5      0.57         19.89          8.41
#&gt;       10     0.29         11.81          3.60
#&gt;       15     0.20          5.55          1.81
#&gt;       20     0.15          2.77          1.09
#&gt;       30     0.10          1.04          0.54
#&gt;       40     0.07          0.52          0.32
#&gt;       50     0.06          0.30          0.22
#&gt; 
#&gt; [[2]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      2.38            NA            NA
#&gt;       3        NA         25.53         12.13
#&gt;       5      0.47         16.87          6.81
#&gt;       10     0.24          9.61          3.11
#&gt;       15     0.16          5.61          1.58
#&gt;       20     0.12          2.59          0.90
#&gt;       30     0.08          0.87          0.40
#&gt;       40     0.06          0.40          0.23
#&gt;       50     0.05          0.22          0.15
#&gt; 
#&gt; [[3]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      2.01            NA            NA
#&gt;       3        NA         23.96         11.01
#&gt;       5      0.41         15.79          6.04
#&gt;       10     0.20          8.96          2.67
#&gt;       15     0.14          4.24          1.39
#&gt;       20     0.10          2.01          0.80
#&gt;       30     0.07          0.70          0.36
#&gt;       40     0.05          0.33          0.21
#&gt;       50     0.04          0.19          0.13
#&gt; 
#&gt; [[4]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      1.85            NA            NA
#&gt;       3        NA         23.61         10.12
#&gt;       5      0.38         15.42          5.60
#&gt;       10     0.19          8.66          2.50
#&gt;       15     0.13          4.01          1.28
#&gt;       20     0.10          1.89          0.75
#&gt;       30     0.06          0.66          0.35
#&gt;       40     0.05          0.31          0.20
#&gt;       50     0.04          0.17          0.13
#&gt; 
#&gt; [[5]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      1.75            NA            NA
#&gt;       3        NA         23.12          9.74
#&gt;       5      0.36         15.06          5.41
#&gt;       10     0.18          8.42          2.43
#&gt;       15     0.12          3.83          1.24
#&gt;       20     0.09          1.81          0.72
#&gt;       30     0.06          0.63          0.34
#&gt;       40     0.05          0.30          0.20
#&gt;       50     0.04          0.17          0.13
#&gt; 
#&gt; [[6]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      1.64            NA            NA
#&gt;       3        NA         22.76          9.21
#&gt;       5      0.34         14.64          5.18
#&gt;       10     0.17          8.04          2.38
#&gt;       15     0.11          3.71          1.20
#&gt;       20     0.09          1.75          0.68
#&gt;       30     0.06          0.61          0.31
#&gt;       40     0.04          0.29          0.17
#&gt;       50     0.03          0.16          0.11
#&gt; 
#&gt; [[7]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      1.61            NA            NA
#&gt;       3        NA         22.69          9.10
#&gt;       5      0.33         14.45          5.11
#&gt;       10     0.17          7.83          2.33
#&gt;       15     0.11          3.62          1.20
#&gt;       20     0.08          1.71          0.67
#&gt;       30     0.06          0.60          0.30
#&gt;       40     0.04          0.28          0.17
#&gt;       50     0.03          0.16          0.11
#&gt; 
#&gt; [[8]]
#&gt;         crop
#&gt; distance Ackerbau Obstbau frueh Obstbau spaet
#&gt;       1      1.52            NA            NA
#&gt;       3        NA         22.24          8.66
#&gt;       5      0.31         14.09          4.92
#&gt;       10     0.16          7.58          2.29
#&gt;       15     0.11          3.48          1.14
#&gt;       20     0.08          1.65          0.65
#&gt;       30     0.05          0.57          0.29
#&gt;       40     0.04          0.27          0.16
#&gt;       50     0.03          0.15          0.11
#&gt; </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>

Contact - Imprint