ceil: Downward rounding of numbers

Description Usage Arguments Details Value Examples

View source: R/numerics.R

Description

Takes a single numeric value or a vector and returns the smallest integers not less than the corresponding elements.

Usage

1
ceil(x)

Arguments

x

A numeric vector.

Details

A simple wrapper to ceiling for a more consistent naming convention with other programming languages.

Value

A numeric vector with integers after rounding downwards to the next integer.

Examples

1
2
ceil(3.14)
ceil(c(-3.2, 4, 0, 7.6, 7.1))

sfeuerriegel/ResearchGroupTools documentation built on May 29, 2019, 8:01 p.m.