mod: Calculate the modulus of two numbers

View source: R/mod.R

modR Documentation

Calculate the modulus of two numbers

Description

Calculates the modulus of two numbers using the equation z = x-y*floor(x/y)

Usage

mod(x, y)

Arguments

x
  • a number or vector

y
  • a number or vector

Value

the result x modulo y


wStockhausen/wtsUtilities documentation built on March 16, 2024, 10:38 a.m.