using a “pasted” name inside a function

前端 未结 1 1584
暗喜
暗喜 2021-01-21 09:53

I have a function that computes some things and then assigns that to a matrix. This matrix receives its name from a paste statement (based on some other current values). I then

1条回答
  •  温柔的废话
    2021-01-21 10:12

    dimnames(get(matName)) <- labs
    

    0 讨论(0)
提交回复
热议问题