I understand what set.seed() does and when I might use it, but I still have many questions about the function. Here are a few:
set.seed()
I have the same issue as in question 1. I then figure I can simply reset seed in the loop by:
set.seed(123) x<- rnorm(10,1,1) set.seed(null)
This way at the end of each loop the seed just got deleted. It worked for me.