R analysis of wearable computing data, for Coursera "Getting and Cleaning Data" course assignment