encase: Encases two numbers between multiples of a given number

View source: R/encase.R

encaseR Documentation

Encases two numbers between multiples of a given number

Description

Encases two numbers between multiples of a given number

Usage

encase(x1, x2, n)

Arguments

x1

the first value of the interval

x2

the second value of the interval (can be higher or lower, but never equal to x1)

n

the number to find the multiples from

Value

the multiples of n directly encompassing x1 and x2

See Also

Similar function : casing

Examples

encase(5,1,5)


StratigrapheR documentation built on July 9, 2023, 6:02 p.m.