mirror of
				https://github.com/msberends/AMR.git
				synced 2025-10-31 07:28:17 +01:00 
			
		
		
		
	Built site for AMR@2.1.1.9235: 36fd99e
				
					
				
			This commit is contained in:
		| @@ -31,7 +31,7 @@ | ||||
|  | ||||
|     <a class="navbar-brand me-2" href="../index.html">AMR (for R)</a> | ||||
|  | ||||
|     <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9234</small> | ||||
|     <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.1.1.9235</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"> | ||||
| @@ -101,8 +101,8 @@ correctly.</p> | ||||
| <div class="sourceCode" id="cb1"><pre class="downlit sourceCode r"> | ||||
| <code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://readxl.tidyverse.org" class="external-link">readxl</a></span><span class="op">)</span></span> | ||||
| <span><span class="va">data</span> <span class="op"><-</span> <span class="fu"><a href="https://readxl.tidyverse.org/reference/read_excel.html" class="external-link">read_excel</a></span><span class="op">(</span>path <span class="op">=</span> <span class="st">"path/to/your/file.xlsx"</span><span class="op">)</span></span></code></pre></div> | ||||
| <p>This package comes with an <a href="https://msberends.github.io/AMR/reference/WHONET.html">example | ||||
| data set <code>WHONET</code></a>. We will use it for this analysis.</p> | ||||
| <p>This package comes with an <a href="https://amr-for-r.org/reference/WHONET.html">example data set | ||||
| <code>WHONET</code></a>. We will use it for this analysis.</p> | ||||
| </div> | ||||
| <div class="section level3"> | ||||
| <h3 id="preparation">Preparation<a class="anchor" aria-label="anchor" href="#preparation"></a> | ||||
| @@ -113,14 +113,14 @@ yet, I suggest you read about it on their website: <a href="https://www.tidyvers | ||||
| <div class="sourceCode" id="cb2"><pre class="downlit sourceCode r"> | ||||
| <code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://dplyr.tidyverse.org" class="external-link">dplyr</a></span><span class="op">)</span> <span class="co"># part of tidyverse</span></span> | ||||
| <span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://ggplot2.tidyverse.org" class="external-link">ggplot2</a></span><span class="op">)</span> <span class="co"># part of tidyverse</span></span> | ||||
| <span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://msberends.github.io/AMR/">AMR</a></span><span class="op">)</span> <span class="co"># this package</span></span> | ||||
| <span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://www.amr-for-r.org/" class="external-link">AMR</a></span><span class="op">)</span> <span class="co"># this package</span></span> | ||||
| <span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://msberends.github.io/cleaner/" class="external-link">cleaner</a></span><span class="op">)</span> <span class="co"># to create frequency tables</span></span></code></pre></div> | ||||
| <p>We will have to transform some variables to simplify and automate the | ||||
| analysis:</p> | ||||
| <ul> | ||||
| <li>Microorganisms should be transformed to our own microorganism codes | ||||
| (called an <code>mo</code>) using <a href="https://msberends.github.io/AMR/reference/catalogue_of_life">our | ||||
| Catalogue of Life reference data set</a>, which contains all ~70,000 | ||||
| (called an <code>mo</code>) using <a href="https://amr-for-r.org/reference/catalogue_of_life">our Catalogue | ||||
| of Life reference data set</a>, which contains all ~70,000 | ||||
| microorganisms from the taxonomic kingdoms Bacteria, Fungi and Protozoa. | ||||
| We do the tranformation with <code><a href="../reference/as.mo.html">as.mo()</a></code>. This function also | ||||
| recognises almost all WHONET abbreviations of microorganisms.</li> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user