ggpubr
ggpubr copied to clipboard
stat_compare_means(): possible options for `method` not listed
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'){
...
}
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