Understanding random seeds
While random numbers are important for many analyses, they create a problem: the results you get can vary slightly. This can cause awkward conversations with your boss when your script for calculating the sales forecast gives different answers each time.
Setting the seed to R's random number generator helps avoid such problems by making the random number generation reproducible.
Este exercício faz parte do curso
Sampling in R
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
