stars.pval {corpora} | R Documentation |
Show p-values as significance stars (corpora)
Description
A simple utility function that converts p-values into the customary significance stars.
Usage
stars.pval(x)
Arguments
x |
a numeric vector of non-negative p-values |
Value
A character vector with significance stars corresponding to the p-values.
Significance levels are ***
(),
**
(),
*
() and
.
(). For non-significant p-values (
), an empty string is returned.
Author(s)
Stephanie Evert (https://purl.org/stephanie.evert)
Examples
stars.pval(c(0, .007, .01, .04, .1))
[Package corpora version 0.6 Index]