powered by
p-values are rounded in a sane way: .99 - .01 to two digits, < .01 to three digits, < .001 to four digits.
round_ps(x)
a numeric vector
A character vector with the same length of x.
# NOT RUN { round_ps(runif(10)) round_ps(runif(10, 0, .01)) round_ps(runif(10, 0, .001)) round_ps(0.0000000099) # }
Run the code above in your browser using DataLab