Re: [R] Summation in R

2006-10-06 Thread Petr Pikal
: Dina Said [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject:Re: [R] Summation in R Thanks Pikal for your reply I want element wise summation. If t is a vector of 5, v is a matrix of 5*5 then I want the answer to be a matrix of 5*5

[R] Summation in R

2006-10-03 Thread Dina Said
Hello! Maybe this is a trivial question as I'm still a new baby in R but I wish that u will help me. I want to calculate the following U= sum (t_j*v_j) where t_j is a vector and v_j is the matrix Thanks Dina __ R-help@stat.math.ethz.ch mailing

Re: [R] Summation in R

2006-10-03 Thread Petr Pikal
[EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject:[R] Summation in R Hello! Maybe this is a trivial question as I'm still a new baby in R but I wish that u will help me. I want to calculate the following U= sum (t_j*v_j) where t_j is a vector