>Jesse Tweedle

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

A dog diet base rate fallacy

4 minute read Published:

There are 70 million dogs in the US. Those dogs on raw food diets are much more likely to cause salmonella infections in humans than on dry (kibble) food diets.

A data viz that asks questions: Friends time series ggplots

5 minute read Published:

A Friends time series #rstats ggplot that tries to give you more questions than answers.

Friends Title Generator, Part 2: parts of speech

8 minute read Published:

This post includes a R code script to generate Friends episode titles, focusing on using parts of speech.

Random sampling: replicate v. rep

2 minute read Published:

A short post to describe repeatedly randomly generating objects.

Friends Title Generator, Part 1

5 minute read Published:

This post includes a R code script to generate Friends episode titles.

Thank you blogdown ppl

1 minute read Published:

These are blogdown things I found helpful.

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.