Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mod

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)}

daewr

Design and Analysis of Experiments with R

v1.2-7
GPL-2
Authors
John Lawson [aut, cre], Gerhard Krennrich [aut]
Initial release
2021-2-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.