As we saw earlier, network visualization in R is a breeze with the visNetwork package. The graphs are gorgeous, interactive, and fun to play with. In this article, we'll look at how we can customize the nodes of our network to convey additional information. First, we'll learn how to color a network ... READ the POST
How to delete your saved workspace in R
When you exit RStudio, you'll see a pop-up asking, “Save workspace image to ~/.RData?” If you’re unsure, you’ll probably select Save. After all, it is the default. Plus, saving is good. Right? Well…it depends. The next time you load RStudio, everything in your workspace (global environment) ... READ the POST
Speed test: ‘cooccur’ vs ‘backbone’
A new package called 'backbone' recently dropped on CRAN and I'm super stoked about it. Essentially, the package simplifies a co-occurrence matrix by extracting its 'backbone.' The package offers various methods for extracting a backbone, one of which involves the use of the hypergeometric ... READ the POST
Understanding probabilistic species co-occurrence
In ecology, co-occurrence networks can help us identify relationships between species using repeated measurements of the species' presence or absence. When evaluating potential relationships, we might ask: Given presence-absence data, are two species co-occurring at a frequency higher or lower than ... READ the POST
How to create co-occurrence networks with the R packages ‘cooccur’ and ‘visNetwork’
Co-occurrence networks are a graphical representation of how frequently variables appear together. They're commonly used in ecology and text mining, where co-occurrence measures how frequently two species are seen together within a sampling site or how frequently two words are present in a single ... READ the POST
The 3 RStudio keyboard shortcuts you need to know
When I first started coding in R, there was so much new stuff to learn it felt overwhelming. Although there were a lot of people excited to offer me advice, it was hard for me to know whether something was necessary, optional, or simply a personal preference. The following keyboard shortcuts are ... READ the POST