This function adds two numeric vectors and returns
a numeric vector
Arguments
- x
a numeric vector
- y
a numeric vector
Examples
add(2, 3)
#> [1] 5
add(mtcars$mpg, mtcars$hp)
#> [1] 131.0 131.0 115.8 131.4 193.7 123.1 259.3 86.4 117.8 142.2 140.8 196.4
#> [13] 197.3 195.2 215.4 225.4 244.7 98.4 82.4 98.9 118.5 165.5 165.2 258.3
#> [25] 194.2 93.3 117.0 143.4 279.8 194.7 350.0 130.4