Custom Legends with Statistical Comparison Brackets

Add publication-quality custom legends with vertical brackets. Designed for displaying statistical comparisons between groups, commonly used in scientific publications for showing significance levels. Features include adaptive positioning, automatic bracket spacing for overlapping comparisons, font family inheritance, and support for asterisks, p-values, or custom labels. Compatible with 'ggplot2' graphics.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("vbracket")

1.4.0 by Yoshiaki Sato, 6 months ago


https://github.com/h20gg702/vbracket


Report a bug at https://github.com/h20gg702/vbracket/issues


Browse source code at https://github.com/cran/vbracket


Authors: Yoshiaki Sato [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports ggplot2, grid

Suggests knitr, rmarkdown


See at CRAN