subtract {FastUtils} | R Documentation |
This function subtracts one number from another.
subtract(x, y)
x |
A numeric vector. |
y |
A numeric vector. |
A numeric vector representing the difference between the input vectors.
# Subtract two numeric vectors
subtract(c(10, 20, 30), c(1, 2, 3))