mod: Mod function

Description Usage Arguments Value Author(s) Examples

View source: R/mod.R

Description

Gets mod of a to base b

Usage

1
mod(a,b)

Arguments

a

input- an integer

b

input - an integer

Value

remainder of a/b or mod(a,b)

Author(s)

John Lawson

Examples

1
2
3
4
5
6
mod(5,3)
## The function is currently defined as
mod<-function(a,b)
{a-b*floor(a/b)}

     

daewr documentation built on March 13, 2021, 3:01 a.m.