f | R Documentation |
Format x to have supplied number of decimal places, have thousands seperated by commas. Taken from our Pacific Hake assessment: https://github.com/cgrandin/hake-assessment/blob/master/doc/r/r-functions/utilities.r
f(x, dec.points = 0)
x |
valuesTODO |
dec.points |
number of decimal places |
x with the specified number of decimal places, and comma for thousands
Chris Grandin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.