R/round_pval.R
round_pval.Rd
This function takes a numeric value and rounds it. It is most useful for R output that is more than three decimal places long.
round_pval(x)
(numeric) A p-value to round
round_pval(0.03765) #> [1] ".038" round_pval(0.0000001) #> [1] ".001"