Learn R Programming

mathml (version 1.2)

prod_over: product over a range. On the R side, this function just returns the product of the first argument, but allows for decorations.

Description

product over a range. On the R side, this function just returns the product of the first argument, but allows for decorations.

Usage

prod_over(x, from, to)

Value

The function returns prod(x)

Arguments

x

the object to be multiplied

from

decoration for prod_from^to x_i

to

decoration for prod_from^to x_i

See Also

prod(), sum_over()

Examples

Run this code
mathjax(quote(prod_over(x[i], i=1L, N)))

Run the code above in your browser using DataLab