User Tools

Site Tools


b:head_first_statistics:permutation_and_combination

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
b:head_first_statistics:permutation_and_combination [2024/10/01 22:36] – [e.g.] hkimscilb: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(5)*factorial(52-5)) factorial(52)/(factorial(5)*factorial(52-5))
-all <- factorial(52)/(factorial(5)*factorial(52-5))+all2 <- factorial(52)/(factorial(5)*factorial(52-5)) 
 +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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki