| val_p_format | R Documentation |
Format a P value for reporting
val_p_format(p, digits = 3)
p |
Numeric P value in the range [0, 1]. |
digits |
Integer; number of decimal places for reported P values. Default is 3.
Note: for p < 0.001, the value is reported in scientific notation with 1 significant figure
regardless of |
A character string. Values < 0.001 are formatted in scientific notation with 1 significant
figure (e.g., "8E-4"). All other values use fixed-point notation rounded to digits
decimal places.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.