如下连续生成16组1:3的随机不重复整数(每次3个),存储至repl中:
repl <- NULL
for(x in 1:16) {repl <- c(repl, sample(1:3, 3, replace = F))}
如下连续生成16组1:3的随机不重复整数(每次3个),存储至repl中:
repl <- NULL
for(x in 1:16) {repl <- c(repl, sample(1:3, 3, replace = F))}

被折叠的 条评论
为什么被折叠?