Function to simplify converting p-values to asterisks
Arguments
- x
p values to convert to stars
- includeMarginal
logical value whether to include a symbol for marginally significant >.05 but < .10 p-values. Defaults to
FALSE
.
Examples
star(c(.0005, .001, .005, .01, .02, .05, .08, .1, .5, 1))
#> [1] *** *** ** ** * *