Skip to contents

Side-by-side bars per channel (estimate at half width left, reference at half width right) with a shared y scale.

Usage

plot_reference_comparison(estimated, reference, mode = c("share", "count"))

Arguments

estimated

m x 1 (or named vector) in canonical order.

reference

m x 1 (or named vector), same channel space.

mode

"share" or "count".

Value

A ggplot object.