For loop to assign values to cells of a matrix

前端 未结 0 1408
Happy的楠姐
Happy的楠姐 2020-11-27 13:52

I have a matrix like this

const.mat2<-matrix(0, nrow=4*nrow(obj.mat), ncol=n*m)

The obj.mat is 3x5 I want to assign values to specific cel

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