Files
developer-roadmap/roadmaps/r-programming/content/sampling@U6vkyRtFatEi8oCm0zoIK.md

9 lines
843 B
Markdown

# Sampling
Sampling covers the different methods for selecting a subset of a population to study, when studying the entire population isn't feasible, including simple random, stratified, and cluster sampling. It also covers the mechanics of random number generation in R and setting a seed for reproducibility. The right sampling method depends on the structure of the population and what you need the sample to represent.
Visit the following resources to learn more:
- [@article@Sampling in R](https://ds4world.cs.miami.edu/sampling)
- [@article@Unleashing the Power of Sampling in R: Exploring the Versatile sample() Function](https://www.r-bloggers.com/2023/06/unleashing-the-power-of-sampling-in-r-exploring-the-versatile-sample-function/)
- [@video@How To... Select Random Samples in R #83](https://www.youtube.com/watch?v=JC3H6eU2jSw)