Learn R Programming

trackeR (version 0.0.3)

concentrationProfile: Generate training concentration profiles.

Description

Generate training concentration profiles.

Usage

concentrationProfile(object, session = NULL, what = c("speed", "heart.rate"), ...)

Arguments

object
An object of class distrProfile as returned by distributionProfile.
session
A numeric vector of the sessions to be used, defaults to all sessions.
what
The variables for which the concentration profiles should be generated.
...
Currently not used.

Value

An object of class conProfile.

References

Kosmidis, I., and Passfield, L. (2015). Linking the Performance of Endurance Runners to Training and Physiological Effects via Multi-Resolution Elastic Net. ArXiv e-print arXiv:1506.01388.

Examples

Run this code
data("run", package = "trackeR")
dProfile <- distributionProfile(run, what = "speed", grid = seq(0, 12.5, by = 0.05))
cProfile <- concentrationProfile(dProfile)
plot(cProfile, smooth = FALSE)
plot(cProfile)

Run the code above in your browser using DataLab