Learn R Programming

⚠️There's a newer version (1.6.0) of this package.Take me there.

trackeR (version 1.0.0)

Infrastructure for Running and Cycling Data from GPS-Enabled Tracking Devices

Description

The aim of this package is to provide infrastructure for handling running and cycling data from GPS-enabled tracking devices. After extraction and appropriate manipulation of the training or competition attributes, the data are placed into session-based and unit-aware data objects of class 'trackeRdata' (S3 class). The information in the resulting data objects can then be visualised, summarised, and analysed through corresponding flexible and extensible methods.

Copy Link

Version

Install

install.packages('trackeR')

Monthly Downloads

313

Version

1.0.0

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Hannah Frick

Last Published

November 27th, 2017

Functions in trackeR (1.0.0)

append.trackeRdata

Append training sessions to existing file.
append

Generic function for appending data to existing files.
append.conProfile

Append training profiles.
Wexp

W' expended.
Wprime

W': work capacity above critical power.
changeUnits.conProfile

Change the units of the variables in an conProfile object.
GC2trackeRdata

Coercion function for use in Golden Cheetah
changeUnits.distrProfile

Change the units of the variables in an distrProfile object.
decreasingSmoother

Smooth a decreasing function.
c2d

Transform concentration profile to distribution profile.
fortify.trackeRdataSummary

Fortify a trackeRdataSummary object for plotting with ggplot2.
changeUnits

Generic function for changing the units of measurement.
funPCA

Functional principal components analysis of distribution or concentration profiles.
distributionProfile

Generate training distribution profiles.
conversions

Auxiliary conversion functions.
getOperations.distrProfile

Get the operation settings of an distrProfile object.
distance2speed

Convert distance to speed.
getOperations.trackeRdata

Get the operation settings of an trackeRdata object.
changeUnits.trackeRWprime

Change the units of the variables in an trackeRdata object.
nsessions

Generic function for calculating number of sessions.
fortify.conProfile

Fortify a conProfile object for plotting with ggplot2.
plot.conProfile

Plot concentration profiles.
fortify.distrProfile

Fortify a distrProfile object for plotting with ggplot2.
changeUnits.trackeRdataSummary

Change the units of the variables in an trackeRdataSummary object.
getOperations

Generic function for retrieving the operation settings.
getUnits.trackeRdata

Get the units of the variables in an trackeRdata object.
getOperations.conProfile

Get the operation settings of an conProfile object.
getUnits.trackeRdataSummary

Get the units of the variables in an trackeRdataSummary object.
getUnits.distrProfile

Get the units of the variables in an distrProfile object.
plot.trackeRdata

Plot training sessions in form of trackeRdata objects.
getUnits.trackeRWprime

Get the units of the variables in an trackeRWprime object.
plotRoute

Plot routes for training sessions.
plot.trackeRdataSummary

Plot an object of class trackeRdataSummary.
imputeSpeeds

Impute speeds.
concentrationProfile

Generate training concentration profiles.
leafletRoute

Plot routes for training sessions.
generateBaseUnits

Generate base units.
plot.distrProfile

Plot distribution profiles.
restingPeriods

Extract resting period characteristics.
generateVariableNames

Generate variables names for internal use in readX functions. the variables vecotrs need to correspond one by on interms of variable type
run

Training session.
changeUnits.trackeRdata

Change the units of the variables in an trackeRdata object.
smoother.distrProfile

Smoother for distribution profiles.
fortify.trackeRWprime

Fortify a trackeRWprime object for plotting with ggplot2.
plot.trackeRWprime

Plot W'.
fortify.trackeRdata

Fortify a trackeRdata object for plotting with ggplot2.
runs

Training sessions.
sanityChecks

Sanity checks for tracking data.
print.trackeRdataSummary

Print method for session summaries.
threshold

Thresholding for variables in trackeRdata objects.
readDirectory

Read all supported container files from a supplied directory.
timeline

Generic function for visualising the sessions on a time versus date plot.
trackeR

trackeR: Infrastructure for running and cycling data from GPS-enabled tracking devices
readX

Read a training file in TCX, db3 or Golden Cheetah's JSON format.
profile2fd

Transform distribution and concentration profiles to functional data objects of class fd.
getUnits

Generic function for retrieving the units of measurement.
readContainer

Read a GPS container file.
getUnits.conProfile

Get the units of the variables in an conProfile object.
smoother

Generic function for smoothing.
plot.trackeRdataZones

Plot training zones.
smoother.conProfile

Smoother for concentration profiles.
scaled.distrProfile

Scale the distribution profile relative to its maximum value
plot.trackeRfpca

Plot function for functional principal components analysis of distribution and concentration profiles.
smootherControl.distrProfile

Auxiliary function for smoother.distrProfile. Typically used to construct a control argument for smoother.distrProfile.
scaled

Generic function for scaling.
smootherControl.trackeRdata

Auxiliary function for smoother.trackeRdata. Typically used to construct a control argument for smoother.trackeRdata.
timeAboveThreshold

Time spent above a certain threshold
trackeRdata

Create a trackeRdata object.
smoother.trackeRdata

zones

Time spent in training zones.
speed2distance

Convert speed to distance.
summary.trackeRdata

Summary of training sessions.