Description Usage Arguments Value Examples
This function takes as input one numeric value, rounds and changes decimal markers whenever necessary.
1 | valsText(x, dec = "default", digits = 3)
|
x |
Name of the object containing the numeric value. |
dec |
Which decimal separator should be used? Defaults to ".". Allows to quickly changing to a comma in case you are producing a manuscript in German or Portuguese. |
digits |
To how many digitis should the value be rounded to? Default is 3. |
A string of text to be used in markdown documents.
1 2 | x <- 5.46923
valsText(x, dec=",", digits=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.