work_rate_step: Work rate for a step-incremental test

View source: R/helpers-incremental.R

work_rate_stepR Documentation

Work rate for a step-incremental test

Description

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.

Usage

work_rate_step(
  .data,
  baseline_intensity,
  step_start,
  step_increase,
  step_length
)

Arguments

.data

The data with recognized protocol phases

baseline_intensity

The baseline intensity

step_start

In case the step test started in a different work rate than baseline

step_increase

The step in increase, in watts per step

step_length

The length, in seconds, of each step

Value

a tibble


fmmattioni/whippr documentation built on Feb. 23, 2024, 11:20 a.m.