How to put lines and asterisks of statistical significance (0.05) above the boxplots?

signif. codes: 0.001=*** , 0.01=** , 0.05=* , 0.1= .

Do you know what command I can use to add those lines and asteristics to my boxplot ?, the image is an example.

Thank you in advance

I think you want the ggsignif package.

https://cran.r-project.org/web/packages/ggsignif/vignettes/intro.html

2 Likes

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: