View source: R/spine_chart_utils.R
round2 | R Documentation |
Proper rounding of values
round2(val, dps)
val |
numeric value to round |
dps |
numeric, number of decimal places |
function taken from this link (https://stackoverflow.com/questions/12688717/round-up-from-5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.