rounding | R Documentation |
Extensions of R rounding functions for distributed matrices.
## S4 method for signature 'ddmatrix'
round(x, digits = 0)
## S4 method for signature 'ddmatrix'
ceiling(x)
## S4 method for signature 'ddmatrix'
floor(x)
x |
numeric distributed matrix |
digits |
integer indicating the number of decimal places
( |
Rounding to a negative number of digits means rounding to a power of ten, so
for example round(x, digits = -2)
rounds to the nearest hundred.
Returns a distributed matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.