ceil: MATLAB ceil function

View source: R/ceil.R

ceilR Documentation

MATLAB ceil function

Description

Rounds to the nearest integer.

Usage

ceil(x)

Arguments

x

numeric to be rounded

Details

Simply invokes ceiling for those more used to C library API name.

Value

Returns numeric vector containing smallest integers not less than the corresponding elements of argument x.

Author(s)

P. Roebuck proebuck1701@gmail.com

See Also

fix, Round

Examples

ceil(c(0.9, 1.3, 2.4))

matlab documentation built on June 2, 2022, 1:09 a.m.