format_pval.RdThis function allows you format the o values including <.001
format_pval(raw_p, d = 3, equal = "=")
| raw_p | Number to be treated as p value |
|---|---|
| d | Decimal places used for p value. |
| equal | Symbol to include if not < |
format_pval(0.0001)#> [1] "<0.001"format_pval(0.95,equal = "")#> [1] " 0.950"