<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>R on Amaltheia</title>
    <link>https://jonjup.netlify.app/tags/r/</link>
    <description>Recent content in R on Amaltheia</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Thu, 07 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://jonjup.netlify.app/tags/r/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Introduction to sf</title>
      <link>https://jonjup.netlify.app/post/introduction-to-sf/</link>
      <pubDate>Thu, 07 Jul 2022 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/introduction-to-sf/</guid>
      <description>When using R as a GIS, there is no way past the sf package(Pebesma, 2018). Theoretically you could use the quasi predecessor sp, but beyond some old packages requiring it, there really is no reason to do so.
With this script, you will learn to use sf to load spatial data in R, to perform standard data wrangling procedures on them, to make (interactive) maps, and lastly, to perform basic geospatial operations with them.</description>
    </item>
    
    <item>
      <title>The rayshader R package </title>
      <link>https://jonjup.netlify.app/post/the-rayshader-r-package/</link>
      <pubDate>Wed, 10 Feb 2021 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/the-rayshader-r-package/</guid>
      <description>In this entry we will go through the basics of rayshader. Rayshader is one of those packages that you see again and again when you follow people from the R-spatial community on twitter. Especially the package’s creator Tyler Morgan-Wall (see here for his website and here for his Twitter) posts videos and images of things he did with it on an almost daily basis. And he has all the reasons to do so.</description>
    </item>
    
    <item>
      <title>R package of the week: DataExplorer</title>
      <link>https://jonjup.netlify.app/post/r-package-of-the-week-dataexplorer/</link>
      <pubDate>Tue, 09 Feb 2021 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/r-package-of-the-week-dataexplorer/</guid>
      <description>install.packages(&amp;quot;DataExplorer&amp;quot;) library(DataExplorer) data = readRDS(&amp;quot;collected_site_scores.RDS&amp;quot;) This weeks package is similar to last weeks. Just like xray Seibelt (2017), DataExplorer Cui (2020) is used for exploratory data analysis. To highlight the features and capabilities of the package we will use a data set of different diatom metrics derived from a large data set of diatoms, which I unfortunately am not able to share with you. These metrics were computed with the diaThor package, which I will cover in a later post.</description>
    </item>
    
    <item>
      <title>Joint Species distribution modelling with HMSC </title>
      <link>https://jonjup.netlify.app/post/joint-species-distribution-modelling-with-hmsc/</link>
      <pubDate>Tue, 05 Jan 2021 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/joint-species-distribution-modelling-with-hmsc/</guid>
      <description>body { text-align: justify}  Introduction In this short example, we will use the Hierarchical Modeling of species communities (HMSC, Ovaskainen and Abrego (2020)) approach through its implementation in the HMSC-R package (Tikhonov et al. 2020) to analyze and predict the distribution of the several bird species in Finland. This is a multi-species example of HMSC - if you are interested in a single-species example see here. This post is meant to accompany the advanced methods in multivariate statistics lecture at the University of Koblenz-Landau.</description>
    </item>
    
    <item>
      <title>A copula model for mutlivariate ecological data</title>
      <link>https://jonjup.netlify.app/post/a-copula-model-for-mutlivariate-ecological-data/</link>
      <pubDate>Thu, 31 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/a-copula-model-for-mutlivariate-ecological-data/</guid>
      <description>body { text-align: justify}  In this blog post, we will go through the copula model for ecological data that was proposed by Anderson et al. (2019). While roughly the first half of this code is available in the supplementary information of that paper, the second half is only described in the paper and I am not aware of any other place where comparable code has been published.</description>
    </item>
    
    <item>
      <title>Analyzing the antTrait data with BORAL</title>
      <link>https://jonjup.netlify.app/post/analyzing-the-anttrait-data-with-boral/</link>
      <pubDate>Thu, 31 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/analyzing-the-anttrait-data-with-boral/</guid>
      <description>body { text-align: justify}  In this post we will, analyze the antTraits data with generalized linear latent variable models fit with the BORAL R package (Hui 2016). Elsewhere on the blog you can find an analysis of the same data using mvabund, gllvm and CAO/CQO.
First of, we will setup the analysis by loading the required libraries. If you haven’t already done so, you will need to install the pacman R package before running this code.</description>
    </item>
    
    <item>
      <title>Analyzing the antTraits data with CQO and CAO </title>
      <link>https://jonjup.netlify.app/post/analyzing-the-anttraits-data-with-cqo-and-cao/</link>
      <pubDate>Thu, 31 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/analyzing-the-anttraits-data-with-cqo-and-cao/</guid>
      <description>body { text-align: justify}  In this script we will analyze the antTraits data with CAO and CQO. Elsewhere on the blog you can find an analysis of the same data using mvabund, boral and gllvm.
First of we will setup the analysis by loading the required libraries. If you haven’t already done so, you will need to install the pacman R package before running this code. Additionally I will load my custom made residual plot function.</description>
    </item>
    
    <item>
      <title>Analyzing the antTraits data with gllvm</title>
      <link>https://jonjup.netlify.app/post/analyzing-the-anttraits-data-with-gllvm/</link>
      <pubDate>Thu, 31 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/analyzing-the-anttraits-data-with-gllvm/</guid>
      <description>body { text-align: justify}  In this post we will analyze the antTraits data with generalized linear latent variable models fit with the gllvm R package (Niku et al. 2020). Elsewhere on the blog you can find an analysis of the same data using mvabund and boral.
First of we will setup the analysis by loading the required libraries. If you haven’t already done so, you will need to install the pacman R package before running this code.</description>
    </item>
    
    <item>
      <title>Analyzing the antTraits data with mvabund</title>
      <link>https://jonjup.netlify.app/post/analyzing-the-anttraits-data-with-mvabund/</link>
      <pubDate>Tue, 08 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/analyzing-the-anttraits-data-with-mvabund/</guid>
      <description>body { text-align: justify}  In this post, we will use the mvabund R-package to analyze the antTraits data set. Elsewhere on the blog you can find an analysis of the same data using gllvm, boral and CAO/CQO.
Preparing the analysis First we will setup the analysis by loading the required libraries. If you haven’t already done so, you will need to install the pacman R package before running this code.</description>
    </item>
    
    <item>
      <title>Species distribution model with HMSC </title>
      <link>https://jonjup.netlify.app/post/species-distribution-model-with-hmsc/</link>
      <pubDate>Mon, 26 Oct 2020 00:00:00 +0000</pubDate>
      
      <guid>https://jonjup.netlify.app/post/species-distribution-model-with-hmsc/</guid>
      <description>body { text-align: justify}  Introduction In this short example, we will use the Hierarchical Modeling of Species Communities (HMSC, Ovaskainen and Abrego (2020)) approach through its implementation in the HMSC-R package (Tikhonov et al. 2020) to analyze and predict the distribution of the Western jackdaw (Corvus monedula) in Finland. This post works through a univariate example of HMSC - if you are interested in a multi-species example, see here.</description>
    </item>
    
  </channel>
</rss>
