Function creating barchart showing the composition of a test.

draw_composition_barchart(composition, cat1, categorical_values1)

Arguments

composition

Tibble. Table showing the composition of a test.

cat1

Character. First dimension selected.

categorical_values1

Tibble. Categories associated to the first dimension selected.

Value

A ggplot object ready for rendering.

Author

Nicolas Mangin