kassambara / ggpubr

'ggplot2' Based Publication Ready Plots
https://rpkgs.datanovia.com/ggpubr/
1.13k stars 165 forks source link

Round the p-values from stat_compare_means( label = "p.format") ?? #334

Open bmreilly opened 4 years ago

bmreilly commented 4 years ago

Very simple question:

Is there a way to round the p values returned by stat_compare_means(label = "p.format") ? Currently it prints 5 digits, but I'd like to reduce it to 3 to be able to plot more densely.

Thanks!

Minh-AnhHuynh commented 2 years ago

I also would like to know if that option is possible.