Epistemology

The truth is out there.

R 에서 팩토리얼(factorial), 계승을 계산하는 법

2015-11-08
13! = 3 * 2 * 1 = 6

R에서 계산하는 방법은 다음과 같습니다.

1> factorial(3)  #3 × 2 × 1
2[1] 6
3
4> factorial(52)
5[1] 8.065818e+67