sum_over | R Documentation |
sum over a range. On the R side, this function just returns the first argument, but allows for decorations.
sum_over(x, from, to)
x |
the object to be summed |
from |
decoration for sum_from^to x_i |
to |
decoration for sum_from^to x_i |
The function returns sum(x)
sum()
, prod_over()
mathjax(quote(sum_over(x[i], i=1L, N)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.