Question
What is the main effect of set.seed(123) before generating random numbers?
Select an option. Your answer will be checked instantly.
Correct Answer: C. It makes the random sequence reproducible
Explanation:
A seed initializes the pseudo-random number generator to a known state.
Using the same seed and code reproduces the same sequence.
Leave a Reply