ggpubr icon indicating copy to clipboard operation
ggpubr copied to clipboard

stat_compare_means(): possible options for `method` not listed

Open nick-youngblut opened this issue 4 years ago • 1 comments

It would help to have the possible options for the stat_compare_means() method param in the function doc. You could also have all possibilities as the parameter default, such as:

stat_compare_means <- function(method = c(NA, 'wilcox', 'anova'){
...
}

nick-youngblut avatar Jun 12 '20 14:06 nick-youngblut

hi, got confused too, then checked the code, seems ggpubr::stat_compare_means and ggsignif::ggsignif both have little description about it, considering neither of them has full definitions for all available tests it might should come from base R. just check available statistics test functions in R, like: http://r-statistics.co/Statistical-Tests-in-R.html

Ruismart avatar Oct 11 '21 06:10 Ruismart