This function divides one number by another.
Arguments
- x
A numeric vector.
- y
A numeric vector.
Value
A numeric vector representing the quotient of the input vectors.
Examples
# Divide two numeric vectors
divide(c(10, 20, 30), c(2, 4, 5))
#> [1] 5 5 6