Randomization, Sampling Function
sample # 추출, 뽑기
복원, 비복원 추출을 할 수 있다.
Default가 비복원이므로 복원 추출시에는 replace=TRUE 라는 option을 추가해줘야 한다.
비복원 추출은 단순표본추출(simple random sampling)에서 사용되는데, 엄밀하게는 단순표본추출(비복원)은 기본확률변수(elementary random variable)들 간에 서로 독립이 아니다.
비복원 추출로 random permutation에 활용할 수 있다.