R/helpers.R
add.significance.stars.Rd
This function adds significance stars to passed p value(s) as: one star for value below 0.05, two for 0.01 and three for 0.001.
p
0.05
0.01
0.001
add.significance.stars(p, cutoffs = c(0.05, 0.01, 0.001))
numeric vector or tabular data
the cutoffs for the 1/2/3 significance stars
character vector