3 Preparing data for analysis - StatisticalReinforcementLearningLab/HeartstepsV1Code GitHub Wiki

  1. Ensure your system has M+Box mounted.

  2. From the command line, navigate to your local copy of the heartstepsdata git repository.

  3. Run the following command:

R CMD BATCH --vanilla workspace.csv.R
R CMD BATCH --vanilla workspace.analysis.R

These R scripts will create or update two R workspace files, csv.RData and analysis.RData on M+Box. Previous versions of the files can be restored using the M+Box web interface.