choose_permute | R Documentation |
Shorthand for some common mathematical operators
n %C% k
n %P% k
n |
whole number (from n choose/permute k) |
k |
whole number (from n choose/permute k) |
Ben Wiseman, benjamin.wiseman@kornferry.com
# Calculate 5 choose 3
print(5 %C% 3)
# Calculate 5 permute 3
print(5 %P% 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.