-
set.seed(n)의 n이 시작점이라는게 무슨 소리인지 모르겠네요…
where n is a seed number which is an integer value.
The seed number (n) you choose is the starting point used in the generation of a sequence of random numbers. Which is why you’ll obtain the same results given the same seed number.
예를들어
set.seed(123)
rnorm(5)set.seed(321)
rnorm(5)n=123일때는 rnorm중에 123번째부터 위치한 숫자5개를 랜덤으로 뽑고 n=321일때는 321번째에 위치한 숫자 5개를
랜덤으로 뽑는다는 소린가요? n의 숫자가 의미하는게 멀까요? 시작점이 왜 중요한거죠
The forum ‘Job & Work Life’ is closed to new topics and replies.