b:head_first_statistics:permutation_and_combination
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
b:head_first_statistics:permutation_and_combination [2024/10/01 22:36] – [e.g.] hkimscil | b:head_first_statistics:permutation_and_combination [2024/10/01 22:40] (current) – [e.g.] hkimscil | ||
---|---|---|---|
Line 275: | Line 275: | ||
## 52장의 카드 중에서 5장 고를 조합은 | ## 52장의 카드 중에서 5장 고를 조합은 | ||
factorial(52)/ | factorial(52)/ | ||
- | all <- factorial(52)/ | + | all2 <- factorial(52)/ |
+ | all2 | ||
+ | # or | ||
+ | all <- choose(52, 5) | ||
+ | all | ||
## royal flush = 10, 11, 12, 13, 1 각 문양 | ## royal flush = 10, 11, 12, 13, 1 각 문양 | ||
## 즉, 4가지. 따라서 전체 조합 중 4가지만 해당됨 | ## 즉, 4가지. 따라서 전체 조합 중 4가지만 해당됨 |
b/head_first_statistics/permutation_and_combination.1727789793.txt.gz · Last modified: 2024/10/01 22:36 by hkimscil