View source: R/pval_to_symbol.R
pval_to_symbol | R Documentation |
Converts a vector of p values into character vector of the symbols ***, **, *, †.
pval_to_symbol(p, marginal = TRUE, ns = FALSE)
p |
Vector of p values. |
marginal |
boolean. Should return dagger for p < .10? |
ns |
boolean. Should return "ns" for not significant or be empty character string? |
pval_to_symbol(c(.50, .0004, .098, .044))
pval_to_symbol(c(.50, .0004, .098, .044), marginal = FALSE)
pval_to_symbol(c(.50, .0004, .098, .044), marginal = FALSE, ns = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.