pval.xtable: Convert p-values into strings with inequalities.
Description
Often times the p values are so small they must either be expressed with bajillions of digits, or in
scientific notation. It is common to simply state that p<.0001, or something of the sort. This function
takes a vector of p-values and converts them into characters so they can be expressed with inequalities.
How many digits should the decimals be rounded to during display?
threshold
The threshold for the inequalities. This value with then be joined with the inequality
via paste. (e.g., threshold = .01 becomes "<.01")
scipen
Should scientific notation be used? Defaults to zero. (Note: it will not entirely suppress
scientific notation, but will make it so extreme it will likely never happen).
Value
A vector of strings yielding the formatted p-values