rounding: Rounding of Numbers

Description Usage Arguments Details Value

Description

Extensions of R rounding functions for distributed matrices.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'ddmatrix'
round(x, digits = 0)

## S4 method for signature 'ddmatrix'
ceiling(x)

## S4 method for signature 'ddmatrix'
floor(x)

Arguments

x

numeric distributed matrix

digits

integer indicating the number of decimal places (round()) or significant digits (signif()) to be used. Negative values are allowed (see 'Details').

Details

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.

Value

Returns a distributed matrix.


pbdDMAT documentation built on May 1, 2019, 6:34 p.m.