Functions for rounding and truncating numeric values towards near
integer values.
Usage
ceil(n)
Fix(n)
Arguments
n
a numeric vector or matrix
Value
integer values
Details
ceil() is an alias for ceiling() and rounds to the smallest
integer equal to or above n.
fix() truncates values towards 0 and is an alias for trunc().
The corresponding functions floor() (rounding to the largest interger
equal to or smaller than n) and round() (rounding to the
specified number of digits after the decimal point, default being 0) are
already part of R base.