Returns nicely formatted p values
1 | p_val_labeller(pval, sigfigs = 2, cutoff = 0.001, plotmath = TRUE)
|
pval |
A vector of pvalues |
sigfigs |
The number of significant figures to which to round each p value |
cutoff |
The number below which the pvalue will be reported as "p<cutoff" |
plotmath |
Whether to format for plotmath or plain text. Plotmath uses "p==", which will display onscreen as "p=" if it is interpreted as plotmath |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.