View source: R/format_strings.R
format_pval_apa | R Documentation |
This function takes a p-value (numeric or character) or list of p-values and formats it so that values less than 0.001 are treated as <0.001. Values less than 0.01 are treated as < 0.01
format_pval_apa(p_val, as.markdown = T)
p_val |
P-value to be formatted |
as.markdown |
optional, indicates whether the resulting string should be formatted for markdown. Default is TRUE |
A formatted p-value string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.