R script for running analysis of the Samsung datasets.