Dear All,

Is there a conmand to calculate the multiplication of the elements in a vector? For example:

a=c(1,2,3,4)
I want to get 1*2*3*4=24. 
Because the dimension of the vector is high, I want to know there is a command for this task in R?

Thank you so much!

Kang

__________________________________________________



	[[alternative HTML version deleted]]

