Format p-value
Arguments
- p
A numeric vector of p-values.
- digits
Digits of each column, i.e., format as x.xxx.
- width
Width of each column.
Examples
fmt_pval(c(0.1234, 0.00002))
#> [1] " 0.123" "<0.001"
Format p-value
A numeric vector of p-values.
Digits of each column, i.e., format as x.xxx.
Width of each column.
fmt_pval(c(0.1234, 0.00002))
#> [1] " 0.123" "<0.001"