round.dt | R Documentation |
Rounds every numeric column of a data.table to given precision
## S3 method for class 'dt'
round(x, digits = 3)
x |
a 'data.table' like thing |
digits |
the number of digits to round to |
the rounded 'x'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.