This function subtracts one number from another.
Arguments
- x
A numeric vector.
- y
A numeric vector.
Value
A numeric vector representing the difference between the input
vectors.
Examples
# Subtract two numeric vectors
subtract(c(10, 20, 30), c(1, 2, 3))
#> [1] 9 18 27