Description Usage Arguments Details Value Examples
Variations are arrangements of selections of objects, where the order of the selected objects matters.
variation
computes the number of k
-element variations of n
objects either with repetition
or not.
1 |
n |
numeric: number of elements to select from |
k |
numeric: number of elements selected |
rep |
logical: with or without repetition (default: FALSE) |
without repetitionV(n,k)=\frac{n!}{(n-k)!}
with repetitionV(n,k)=n^k
numeric
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.