mod {daewr}R Documentation

Mod function

Description

Gets mod of a to base b

Usage

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

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

     

[Package daewr version 1.2-7 Index]