powered by
Format a p-value for pretty printing.
format_p.ade(x, pgits=4, digits=2)
An object of similar structure to x containing character representations of the elements of x in a common format
a numeric p-value
a vector of numeric p-values
a matrix of numeric p-values
Number of digits after decimal for cutoff of the p-value, 4 means, all under 0.0001 will be shown like <0.0001
how many significant digits are to be used. (bevore the cut with pgits)
if used a half-integer for pgits, like 3.5 the p-value will be shown like <0.0005
format_n.ade
format_p.ade(0.045825, 4, 3) format_p.ade(0.000025, 4) format_p.ade(0.000025, 3.5)
Run the code above in your browser using DataLab