Description Usage Arguments Value Examples
Assign significance stars to p-values
1 2 | PvalToStar(p.val, sig.levels = c(0.01, 0.05, 0.1), sig.symbols = c("***",
"**", "*"))
|
p.val |
Vector of p-values to which we want significance stars assigned. |
sig.levels |
Optional vector containing significance thresholds. Default is 1%, 5%, and 10% significance. |
sig.symbols |
Vector of symbols to denote significance. Symbols must be provided in decreasing order of significance. |
A vector of significance stars.
1 2 3 4 5 | PvalToStar(c(0.009, 0.049, 0.09, 0.11))
my.levels <- c(0.001, 0.01, 0.05)
my.symbols <- c("a", "b", "+")
PvalToStar(c(0.009, 0.049, 0.09, 0.11), my.levels, my.symbols)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.