R Programming File that performs analysis on Samsung fitness files