how to round numbers down in R code example Example: R round values up # Round up to the next integer ceiling(x)