Skip to contents

Recognizes and normalizes the time column of each transition. It will also label the transitions into: 'baseline' or 'transition'.

Usage

normalize_transitions(
  .data,
  protocol_n_transitions,
  protocol_baseline_length,
  protocol_transition_length
)

Arguments

.data

Breath-by-breath data.

protocol_n_transitions

Number of transitions performed.

protocol_baseline_length

The length of the baseline (in seconds).

protocol_transition_length

The length of the transition (in seconds).

Value

a tibble