This function produces the work rate throughout a step-incremental test given the protocol This will retrieve both the 'original' work rates, and also will perform a 'linearization' of the steps.
work_rate_step(
.data,
baseline_intensity,
step_start,
step_increase,
step_length
)
a tibble
The data with recognized protocol phases
The baseline intensity
In case the step test started in a different work rate than baseline
The step in increase, in watts per step
The length, in seconds, of each step