Easy p-value formatting
pval_string(pv)
A p-value in numeric form.
A formatted character representation of the input value.
character
# NOT RUN { pv <- c(.9, .2, .049, .009, .000003) pval_string(pv) # }
Run the code above in your browser using DataLab