Description Usage Arguments Details Value Examples
Convert a p-value to a character corresponding to p-value levels
1 2 3 |
pv |
a p-value |
numonly |
do not append stars to the output of |
ns |
string to be used for values below the lowest threshold |
thresholds |
numeric vector defining three thresholds for one, two or three stars |
Convert a p-value to a character corresponding to p-value levels.
pval2str
returns a formatted number with, optionally, stars denoting
the significance of the p-value. pval2star
returns just the stars.
Both functions return character vector with p-values converted to respective strings.
1 2 | # will return c( "**" )
pval2star( 0.0005 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.