subtract | 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.