round: Round Numbers to a Specified Number of Digits ----
Description
This function rounds numeric values to the specified number of decimal digits,
mimicking the behavior of the base R round() function but implemented manually.
Usage
round(x, digits)
Value
A numeric vector rounded to the specified number of digits.
Arguments
x
A numeric vector to be rounded.
digits
Integer indicating the number of decimal places to round to.