Skip to content
Back to formatted view

Raw Message

Message-ID: <773333.91388.qm@web28216.mail.ukl.yahoo.com>
Date: 2011-01-20T17:18:49Z
From: Jannis
Subject: 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