pval2lab | R Documentation |
Creates significance labelings from p values.
pval2lab(p)
p |
Numerics. Raw p values. |
In data visualization, traditional combination of symbols
such as ** or +
are used to present statistical significance.
When denoting the p values themselves,
there also is a labeling tradition
like "p < .05" or "p = .82".
pval2lab()
creates these labelings from raw p values
which are then used for data plotting.
Numerics.
Labels for given p values.
Extract and use base::names()
of the returning vector for
symbol labeling such as ** or +.
p <- c(0.9, 0.0777, 0.04, 0.009, 0.00002)
pval2lab(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.