how can I use combn for summation

后端 未结 0 1241
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 19:07

I have the summation below which have done successfully using for loops.

F <- matrix(c(2,3,4,5),nrow=2)

ans=0
for (k in 1:2){
  for (i in 1:2){
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题