Solution to Quiz 2 for "Getting and Cleaning Data" by Jeff Leek on Coursera
To use this script, source it first
source("run_analysis.R")
Then a variable called "result" which contains the required result will be created. See the comment in run_analysis.R for additional help.