3! = 3 * 2 * 1 = 6
R에서 계산하는 방법은 다음과 같습니다.
> factorial(3) #3 × 2 × 1
[1] 6
> factorial(52)
[1] 8.065818e+67
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
3! = 3 * 2 * 1 = 6
R에서 계산하는 방법은 다음과 같습니다.
> factorial(3) #3 × 2 × 1
[1] 6
> factorial(52)
[1] 8.065818e+67
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.