format_p | R Documentation |
Format a column of p-values
format_p(pval, na_string = "-", empty_string = "-", sig = NA)
pval |
A vector of p values |
na_string |
Value to return if pval is NA |
empty_string |
Value to return if pval == "" |
sig |
Level of signficance. If formatted p-value = significance level, an extra digit will be added |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.