[R] Procuct of a sequence or vector

Jannis bt_jannis at yahoo.de
Thu Jan 20 18:18:49 CET 2011


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 








More information about the R-help mailing list