Description Usage Arguments Value Examples
Pretty print for p-values.
1 | prettyPval(pvalue, digits = 3L, space = FALSE, equal = TRUE)
|
pvalue |
A numeric vector of p-values. |
digits |
number of digits returned (3 by default). |
space |
Logical specifying whether a space should be inserted between number and operator (= or <, default to FALSE). |
equal |
add = where needed? |
The function return a string with the pretty printed p-values.
1 2 | pval1 <- c(3, NA, 1e-01, 1e-02, 1e-03, 1e-04, 1e-05)
prettyPval(pval1, space = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.