Andrew Treadway

How to change a file’s last modified date with R

This relatively quick post goes through how to change a file's last modified date with base R. How to change…

6 years ago

10 R functions for Linux commands and vice-versa

This post will go through 10 different Linux commands and their R alternatives. If you're interested in learning more R…

6 years ago

Intro to Python Course

For anyone in the NYC area, I am offering an in-person introductory Python course on January 7th, 2019. The description…

6 years ago

How to measure DNA similarity with Python and Dynamic Programming

*Note, if you want to skip the background / alignment calculations and go straight to where the code begins, just…

6 years ago

Those “other” apply functions…

So you know lapply, sapply, and apply...but...what about rapply, vapply, or eapply? These are generally a little less known as…

6 years ago

How to run R from the Task Scheduler

In a prior post, we covered how to run Python from the Task Scheduler on Windows. This article is similar,…

6 years ago

Data Analysis with Python Course: How to read, wrangle, and analyze data

For anyone in the NYC area, I will be holding an in-person training session December 3rd on doing data analysis…

6 years ago

How to build a logistic regression model from scratch in R

Background In a previous post, we showed how using vectorization in R can vastly speed up fuzzy matching. Here, we…

6 years ago

Dpylthon…dplyr for Python!

If you're an avid R user, you probably use the famous dplyr package. Python has a package meant to be…

6 years ago

Getting data from PDFs the easy way with R

Earlier this year, a new package called tabulizer was released in R, which allows you to automatically pull out tables…

6 years ago