mod: give the modulus of a number

Description Usage Arguments Value Examples

Description

This function return the modulus of a number. The difference with the R built-in function is that the value of n%n is n instead of 0.

Usage

1
mod(value, modulo)

Arguments

value

A number from which you want to compute the modulo

modulo

The value of the modulus.

Value

The remainder of the division of value by modulo

Examples

1
2
mod(15,12)
mod(12,12)

frederic-michaud/hapex documentation built on May 15, 2019, 3:29 p.m.