(I’ve searched for an answer but I can’t find one I understand. Sorry!)
I’m running a pile of
sampling calls in a big loop in my R code. I’ve used
set.seed to set the R session seed, but I also need to control the seed for
sampling. Is there a sensible way to get it? I had expected something like
increment.seed() but that doesn’t seem to exist and
.Random.seed is a big vector and not the single integer that
What’s the accepted way to do this?