pvalue.str.Rd
Format p value into a string representation that can be used for publishing.
pvalue.str(ps, digits = 3, thresholds = c(0.001, 0.01))
ps | a vector (or single scalar) of significance levels |
---|---|
digits | round maximum digits displayed |
thresholds | vector of increasing significance levels at which exact p values should be replaced with "<threshold" labels |
pvalue.str(1:8/101)#> [1] "<0.01" "0.02" "0.03" "0.04" "0.05" "0.059" "0.069" "0.079"