Description Usage Arguments Value Examples
This takes an arbitrary numbers and prints like a human would transcribe it. Designed to be used within \Sexpr
.
1 2 |
number |
A single numeric vector. |
sig.figs |
Significant figures to be displayed |
dollar |
Logical, should a LaTeX dollar sign ( |
pre.phrase |
A length 2 character vector to insert a phrase before the number. The first element is the phrase to be used if the output rounds up before printing (i.e. the original number is smaller than the number printed); the second is the phrase to be used if the number rounds down. The default is |
.suffix |
Either |
A character string representing the number as appropriate for English prose.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.