The format.pval prints a < sign if the p-value is small. However, it does not print an = sign if an exact value is returned. That poses a problem if format.pval is used in a markdown document: one can either write `r format.pval(...)` but this will not work if the p-value turns out to be exact, or `r = format.pval(...)` but it will only work with exact value.
An option in format.pval to show = with exact p-values would resolve this problem (and, if it is an option, it would be completely backwards-compatible).
The
format.pval
prints a<
sign if the p-value is small. However, it does not print an=
sign if an exact value is returned. That poses a problem ifformat.pval
is used in a markdown document: one can either write`r format.pval(...)`
but this will not work if the p-value turns out to be exact, or`r = format.pval(...)`
but it will only work with exact value.An option in
format.pval
to show=
with exact p-values would resolve this problem (and, if it is an option, it would be completely backwards-compatible).