Skip to content
Prev 247895 / 398506 Next

Procuct of a sequence or vector

Dear list,


is there a function in R that returns the product of a vector?

E.g. if the vector is c(1,2,3,4) it should return 1*2*3*4=24


Cheers
Jannis