Pete Talbert

  • About
  • Services
  • GitHub
  • RSS
  • R-Bloggers
  • Window Functions in SQL vs. R

    March 2, 2019

    Both MS SQL Server and R’s dplyr package offer window functions for different operations on a dataset. What are window functions? Window functions operate on a set of rows or “window” and return a value for each row, whether that’s something like a row number or percentile rank, or an aggregate result from a min, max, average, or sum. Read More…

  • Plotting factors with forcats

    February 21, 2019

    Often, I find myself with a lot of categorical variables that I want to plot, where I’m really only interested in the most common ones that bubble to the surface. Read More…

  • Working more with the Baumann dataset

    December 29, 2018

    As a way to continue to teach myself statistics and learn new techniques (including some machine learning methods I am very unfamiliar with), I am taking Stanford’s self-paced statistical learning course. Read More…

  • Learning For Loops in R

    December 10, 2018

    I’m very much a beginner when it comes to any formal programming. So I feel like my first real practice should be with for loops, which are a staple of programming concepts. Read More…

  • Pivoting Data in SQL vs. R

    November 22, 2018

    Often with education data, I need to pivot data to go from long format to wide. For instance, I often have test scores for different test subjects of a single assessment. Read More…

      « First
      ‹ Prev
      1
      2
      3
      4
      Next ›