pasterisk | R Documentation |
Takes a scalar or atomic vector of p-values and returns a scalar or atomic vector of asterisks corresponding to different significance levels.
pasterisk(
p_vals,
thresholds = c(0.05, 0.01, 0.001),
sig_symbol = "*",
pad = FALSE,
pad_symbol = " ",
super_script = FALSE
)
p_vals |
a numeric scalar or atomic vector of p-values or effect sizes (or any other numeric vector). |
thresholds |
a numeric scalar or atomic vector of number thresholds. Defaults to .05, .01, and .001. |
sig_symbol |
a character scalar to be used to indicate significance. Defaults to an asterisk (i.e., *). |
pad |
if TRUE, adds spaces to create fixed width output |
pad_symbol |
a character scalar to be used to pad. Defaults to a space (i.e., " "). |
super_script |
if TRUE, formats output as superscript text. Defaults to FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.