powered by
Redefine the default parameters of rstatix::add_significance() by adding p-value significance symbols to a data frame.
rstatix::add_significance()
add_significance0(data, p.col = NULL, output.col = NULL)
a data frame
a data frame containing a p-value column.
column name containing p-values.
the output column name to hold the adjusted p-values.
library(magrittr) library(rstatix, warn.conflicts = FALSE) data("ToothGrowth") ToothGrowth %>% t_test(len ~ dose) %>% adjust_pvalue() %>% add_significance0("p.adj")
Run the code above in your browser using DataLab