powered by
This functio returns the product of two vectors Vectors length must be the equal.
vectorMultiply(x,y)
A numeric vector
Returns the product of x and y vectors.
x
y
e.g. X<-c(5,6,7) Y<-c(1,2,3) Now function call: vectorAdd(X,Y) Then the Product is: [1] [2] [3] 6 8 10
# NOT RUN { x<-c(5,6,7) y<-c(1,2,3) vectorMultiply(x,y) # }
Run the code above in your browser using DataLab