Description Usage Arguments Value Author(s) Examples
Returns the moving maximum power for a bunch of activities, using the power data second-by-second, from all durations to the length of the training sessions. The input must be in form of a list.
1 | mmp_alldata(act_power_list)
|
act_power_list |
A list containing the vector power data from a set of training sessions. It's good to use with get_power_data() within Golden Cheetah. |
It gives the mean maximum power for each activity within the power list.
Natan Freitas Leite.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## The function is currently defined as
function (act_power_list)
{
mmp_alldata = list()
l_pl = length(act_power_list)
for (i in 1:l_pl) {
mmp_alldata[[i]] = mmp_act(act_power_list[[i]])
print(i)
}
return(mmp_alldata)
}
data(power_list)
mmp_sessions=mmp_alldata(power_list[1:10]) #bigger files will take longer to run.
plot(mmp_sessions[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.