star | R Documentation |
A function that transforms pvalues in stars ***
star(p.val, probs = c(0.001, 0.01, 0.05, 0.1))
p.val |
numeric, the value of the pvalue. |
probs |
a vector of the four probabilities of changes in increasing order. |
A character string with stars, dot or blank space.
Julien Bousquet (2021)
star(0.015)
#for a vector of p-values
pvals <- c(0.01, 0.05, 0.015, 0.5)
sapply(pvals, star)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.