| pValueString | R Documentation |
Returns Latex formatted string from a p-value required for R/knitr integration. For example, p = 0.11 or p < 0.01 Returns values to 3 sig decimal places or < .001
pValueString(pVal)
pVal |
p-value between 0 and 1 |
character
# Example 1:
pString <- pValueString(0.670)
# Example 2:
pString <- pValueString(0.1234)
# Example 3:
pString <- pValueString("0.03")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.