round | R Documentation |
ceiling
takes a single numeric argument x
and returns
a numeric vector containing the smallest integers not less than
the corresponding elements of x
.
## S4 method for signature 'fm' ceiling(x) ## S4 method for signature 'fmV' ceiling(x) ## S4 method for signature 'fm' floor(x) ## S4 method for signature 'fmV' floor(x) ## S4 method for signature 'fm' round(x) ## S4 method for signature 'fmV' round(x)
x |
a numeric vector. |
floor
takes a single numeric argument x
and returns a numeric
vector containing the largest integers not greater than the corresponding
elements of x
.
round
rounds the values in its first argument to the specified number
of decimal places (default 0).
mat <- ceiling(fm.runif.matrix(100, 10)) mat <- floor(fm.runif.matrix(100, 10)) mat <- round(fm.runif.matrix(100, 10))