Skip to contents

This is a wrapper for the rem() function. It is used to match Insight Maker's mod, which is the remainder operator.

Usage

a %REM% b

Arguments

a

Dividend

b

Divisor

Value

Remainder

Examples

-7 %REM% 3
#> [1] -1