You May Also Enjoy
Git prompt with conda and conda-auto-env
The Git Team maintains a bash script that sets a message in your prompt displaying the current branch and status. The script can be found here. To install th...
Benchmark adding together multiple columns in dplyr
Inspired partly by this and this Stackoverflow questions, I wanted to test what is the fastest way to create a new column using dplyr as a combination of oth...
Compute correlations using the tidyverse
This small example aims to provide some use cases for the tidyr package. Let’s generate some example data first: library(lubridate) library(tibble) library(...
Equivalence between distribution functions in R and Python
The name for the different functions that work with probability distributions in R and SciPy is different, which is often confusing. The following table list...