Generate significance stars from p-values
Generate significance stars from p-values using R's standard definitions.
stars_pval(p_value)
p_value
: A numeric vector of p-valuesA character vector containing the same number of elements as p-value, with an attribute "legend" providing the conversion pattern.
Mapping from p_value ranges to symbols:
p_vals <- c(0.01, 0.043, 0.1, 0.0023, 0.000012) stars_pval(p_vals)
Tiago Olivoto tiagoolivoto@gmail.com
Useful links