Generate a vector of W' balance values from time and power data. The
underlying algorithm is published in Skiba et al. (2012), and can also
be examined in the function source code.
Usage
Wbal(data, time = "timer.s", pwr = "power.W", CP)
Arguments
data
a data.frame/matrix object with time and power columns.
time
character; name of the time (seconds) column in data.
pwr
character; name of the power (watts) column in data.
CP
a critical power value for use in the calculation.
Value
A numeric vector of W' balance values, in kilojoules.
References
Skiba, P. F., W. Chidnok, A. Vanhatalo, and A. M. Jones. Modeling
the Expenditure and Reconstitution of Work Capacity above Critical Power.
Med. Sci. Sports Exerc., Vol. 44, No. 8, pp. 1526-1532, 2012.
http://www.ncbi.nlm.nih.gov/pubmed/22382171{PubMed link}.