powered by
This function subtracts one number from another.
subtract(x, y)
A numeric vector representing the difference between the input vectors.
A numeric vector.
# Subtract two numeric vectors subtract(c(10, 20, 30), c(1, 2, 3))
Run the code above in your browser using DataLab