1
我希望有兩個相同的號碼,並將其插入到set.seed()和文件名,如下如何製作兩個相同的數字並插入set.seed()和文件名?
set.seed(8888)
write(rnorm(500),"theta_8888_g.txt", sep=",", ncol=500)
set.seed(9999)
write(rnorm(500),"theta_9999_g.txt", sep=",", ncol=500)
,,,,,,,
set.seed(111111)
write(rnorm(500),"theta_1111_g.txt", sep=",", ncol=500)
預先感謝您