Normalizes the the time column such that the baseline phase has negative time values. Point zero will then represent the start of the transition phase.

normalize_time(.data, protocol_baseline_length)

Arguments

.data

Breath-by-breath data.

protocol_baseline_length

The length of the baseline (in seconds).

Value

a tibble