prettyp Return a formated version of pvalues with nice format.
prettyp
prettyp(p, r = 3)
A vector of numerical p-values
A numeric values that indicates the number of digits to round to
Return a formated p-value vector with rounded numbers and <0.001 instead of 0.00
It takes a p and return another one, but better.
# NOT RUN { prettyp(c(0.05,0.001,0.00001),3) # }
Run the code above in your browser using DataCamp Workspace