R/anlz_pvalformat.R
anlz_pvalformat.Rd
Format p-values for show functions
anlz_pvalformat(x)
numeric input p-value
p-value formatted as a text string, one of p < 0.001, 'p < 0.01', p < 0.05, or ns for not significant
p < 0.001
'p < 0.01'
p < 0.05
ns
anlz_pvalformat(0.05) #> [1] "ns"