| format_pvalues_desctable | R Documentation |
Converts numeric p-values to formatted strings with appropriate precision. Handles very small p-values with threshold notation (e.g., "< 0.001").
format_pvalues_desctable(result, p_digits, marks)
result |
Data.table with 'p_value' column to format. |
p_digits |
Integer number of decimal places for p-values. |
marks |
List with |
Modified data.table with 'p_value' column (formatted strings).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.