Annotate a significance-test result with the conventional symbol for its p-value range.
pval2stars(p.value)
p.value |
p-value |
Use a symbol for compact plot labels while retaining the numeric p-value for interpretation. The cut points are 0.001, 0.01, 0.05 and 0.1, with symbols ***, **, *, + and an open circle in order of increasing p. An equality belongs to the interval ending at that cut point. For legacy strings beginning with a less-than sign and space, the function classifies the printed bound. It does not calculate a test or adjust for multiple comparisons.
A character vector of significance symbols: ***, **, *, + or an open circle, using cut points 0.001, 0.01, 0.05 and 0.1.
All tested symbol thresholds, their equality cases and the legacy printed bound agreed with their stated probability ranges. See S03 validation in the technical manual.
At nominal 5 percent, global rejection across tested uniform nulls with attainable ranks ranged from 4.25 to 5.85 percent. S01 study.
The fixed uniform-null example returned a global probability of 0.4375 and an adjusted probability of 0.1875 for its cluster crossing north. S03 study.
print.skyscapeR.sigTest, plot.skyscapeR.sigTest
pval2stars(c(0.0005, 0.008, 0.03, 0.08, 0.2))