Installing the package requires the devtools package. Use the following command to install the package:
install.packages("devtools")
Installing the trainingLoad package
The R package can be installed using the following command
devtools::install_github("jbrond/trainingLoad")
Example data usage
Use the trackeR package to read TCX files:
library(trackeR)
garmin = readTCX('ExampleData/activity_8377782029.tcx')
For loading Axivity Accelerometry files use the GGIRread package
library(GGIRread)
ax3 = readAxivity('ExampleData/ax3.cwa', start=0, end=200)
Start and end with readAxivity is in blocks of 3 seconds. Thus with end=200 and sampling frequency of 100 Hz we get the first 10 minues of data (200*3*100 is 60000 samples)