SyntaxFix
Write A Post
Hire A Developer
Questions
If you don't want your code to depend on other packages, you can always just write these functions:
perm = function(n, x) { factorial(n) / factorial(n-x) } comb = function(n, x) { factorial(n) / factorial(n-x) / factorial(x) }