How to initialise a random matrix in R with no duplicates in the columns but duplicates allowed in rows

前端 未结 0 1089
逝去的感伤
逝去的感伤 2021-02-11 11:16

I would like to create a matrix in R, say 1000 by 10, and each column is a random sample without replacement of 1000 numbers between 1 and 1000. I would like this random sample

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