Re: [R] summation equation whose numerator has subscript

2015-11-30 Thread David Winsemius
> On Nov 30, 2015, at 1:20 PM, Sherouk Moawad via R-help > wrote: > > Dear R experts > Please do you have any idea about how this summation can be written in R(the > equation can be viewed in the following link): > http://s16.postimg.org/or2km30ph/equation.jpg Can you explain in natural la

Re: [R] summation equation whose numerator has subscript

2015-11-30 Thread Jeff Newmiller
I cannot understand that summation at all, much less translate it to R. Do you have an original citation for this thing? As for putting subscripts in parameter lists, that is not going to happen. You have to accept that the code that calls your function needs to do any necessary subscripting

[R] summation equation whose numerator has subscript

2015-11-30 Thread Sherouk Moawad via R-help
Dear R experts Please do you have any idea about how this summation can be written in R(the equation can be viewed in the following link): http://s16.postimg.org/or2km30ph/equation.jpg I've tried out out this code but it gave me error for writing brackets in function of summation: >>> x=mat