psignr: Format p values for the output and removes trailing numbers when p > .10
Description
Format p values for the output and removes trailing numbers when p > .10
Usage
psignr(pvals, sig.limit = c(0.05, 0.01, 0.001), html = FALSE)
Value
A string of asterisks
pvalr(c(0.432, 0.05, 0.00001))
Arguments
- pvals
A vector with p-values
- sig.limit
The thresholds for adding an additional asterisk
- html
whether to use html coded output