fpval {pmxpartab} | R Documentation |
Format p-values
Description
Format p-values
Usage
fpval(
pval,
digits = 3,
eps = 0.001,
alpha = 0.05,
star.symbol = "*",
html = FALSE,
unicode.le = FALSE
)
Arguments
pval |
A numeric vector of p-values. |
digits |
The number of significant digits to retain. |
eps |
A numeric value. Under this threshold, rather than showing the p-value itself, show "< 1e-X" where X is the largest integer satisfying this relationship. |
alpha |
The significance level. |
star.symbol |
A character to display next to those p-values that are
statistically significant (i.e., less then |
html |
A logical flag indicating whether to return HTML code or plain text. |
unicode.le |
A logical flag indicating whether to use unicode
symbol U+2264
for "less-than-or-equal-to" (only applies when |
Value
A character vector of the same length as pval
.
See Also
Examples
x <- c(1, 0.5, 0.05, 0.049, 0.01, 0.001, 0.0001, 0.00001)
fpval(x, html=FALSE, unicode.le=FALSE)
[Package pmxpartab version 0.5.0 Index]