Skip to contents

Visualizes phase durations across conditions or groups.

Usage

plotPhaseDurations(
  phases_list,
  labels = NULL,
  unit = c("percent", "seconds"),
  show_values = TRUE,
  title = "Phase Durations",
  ...
)

Arguments

phases_list

List of segmented_phases objects or timing data.frames

labels

Labels for each entry

unit

"percent" or "seconds"

show_values

Show duration values on bars

title

Plot title

...

Additional arguments

Value

A ggplot object

References

Wickham H (2016). "ggplot2: Elegant Graphics for Data Analysis." Springer.

See also

plotCycle() for cycle-normalized waveform visualization, calculateGaitParameters() for computing gait phase parameters.