Skip to content
Prev 19017 / 63421 Next

prod(numeric(0)) surprise

The way to think about it is:

   prod(rep(x,n)) == x^n

and that works for n=0 too.
On 1/9/06, Martin Morgan <mtmorgan at fhcrc.org> wrote: