How to find the product of vector elements?

r multiply vectors element by element
product of vector elements matlab
dot product in r
cumulative product in r
mean of a vector in r
prod function in r
sum of vector in r
sum function in r