>Jesse Tweedle

jt <- function(data) {
  if (is_appropriate) {
    result <- data %>% do_econometrics()
  else {
    result <- data %>% scatterplot()

Post-selection inference on Friends titles in R

10 minute read Published:

This post applies post-selection procedure to estimating the effect of character names in Friends episode titles on their ratings. Ross is good, apparently.

rvest + imdb -> explore Friends episode titles

11 minute read Published:

This post includes R code to download Friends episode data from IMDB using the package rvest. It analyzes and visualizes episode data.

Functional programming #rstats: closure hack for parallel processing on windows!

4 minute read Published:

This post describes a useful application of functional programming. Parallel processes on Windows don't have access to the global environment. Closures can encapsulate dependencies in the functions you pass, saving you from missing function errors.