Blog Archives

R Syntax for Ranked Choice Voting

November 30, 2013
By

I have gotten several requests for the R syntax I used to analyze the ranked-choice voting data and create the animated GIF. Rather than just posting the syntax, I thought I might write a detailed post describing the process. Reading … Continue reading →

Read more »

Ranked Choice Voting

November 25, 2013
By
Ranked Choice Voting

The city of Minneapolis recently elected a new mayor. This is not newsworthy in and of itself, however the method they used was—ranked choice voting. Ranked choice voting is a method of voting allowing voters to rank multiple candidates in order of preference. In … Continue reading →

Read more »

Warning: Mac OS 10.9 Mavericks and R Don’t Play Nicely

October 27, 2013
By

For some reason I was compelled to update my Mac’s OS and R on the same day. (I know…) It didn’t go well on several accounts and I mostly blame Apple. Here are the details. I updated R to version … Continue reading →

Read more »

A Course in Data and Computing Fundamentals

April 19, 2013
By
A Course in Data and Computing Fundamentals

Daniel Kaplan and Libby Shoop have developed a one-credit class called Data Computation Fundamentals, which was offered this semester at Macalester College. This course is part of a larger research and teaching effort funded by Howard Hughes Medical Institute (HHMI) to help students … Continue reading →

Read more »

NCAA Basketball Visualization

March 20, 2013
By
NCAA Basketball Visualization

It is time for the NCAA Basketball Tournament. Sixty-four teams dream big (er…I mean 68…well actually by now, 64) and schools like Iona and Florida Gulf Coast University (go Eagles!) are hoping that Robert Morris astounding victory in the N.I.T. … Continue reading →

Read more »

ggplot ggoldy

March 7, 2013
By
ggplot ggoldy

One of my graduate students worked some ggplot magic and created an almost Light Bright-esqe plot of our very own Goldy Gopher. She also, thoughtfully, published a tutorial on her blog. Read and enjoy!

Read more »

Happy Birthday Florence Henderson

February 9, 2013
By
Happy Birthday Florence Henderson

As a celebration of Florence Henderson’s 79th birthday (on February 14), I have created this scatterplot to use in my regression course. The plot depicts the relationship between time spent on mathematics homework outside of school (expressed as z-scores) and … Continue reading →

Read more »

ggplot2 Pinterest

October 29, 2012
By

I don’t understand the website Pinterest, but it looks pretty (especially on the iPad), and an undergraduate student said it was the greatest thing since Facebook, so I thought I would give it a shot. The idea is that Pinterest … Continue reading →

Read more »

Recoding Variables in R: Pedagogic Considerations

October 20, 2012
By

I was creating a dataset this last week in which I had to partition the observed responses to show how the ANOVA model partitions the variability. I had the observed Y (in this case prices for 113 bottles of wine), … Continue reading →

Read more »

Clearning up the sqldf confusion

November 29, 2011
By

Apparently I have issues with my reading comprehension and with Textmate (initially) when it comes to using the sqldf package. G. pointed out in the previous comments, I could have just used options(gsubfn.engine = "R") instead of going through the trouble of installing the tcltk binaries. If you’ve got a happy distribution of R that

Read more »