ceil: MATLAB ceil function

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Rounds to the nearest integer.

Usage

1
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 proebuck@mdanderson.org

See Also

fix, Round

Examples

1
ceil(c(0.9, 1.3, 2.4))


Search within the matlab package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.