I am having some issues with "set.seed()". My R version is 4.2.1 so in order to get the same results as in R 3.5 or older
set.seed(1)
my understanding is that I should use
set.seed(1, sample.kind = "Rounding")
but R returns the following Warning:
Warning message: In set.seed(1, sample.kind = "Rounding") : non-uniform 'Rounding' sampler used
but, results still don't match. I am doing a test online so I don't know the answer they expect me to provide but with the warning message I am somehow confident it has something to do with "set.seed()".