Rdocumentation
powered by
Learn R Programming
forensim (version 1.1-4)
Cmn: The number of all possible combinations of m elements among n with repetitions
Description
The number of all possible combinations of m elements among n with repetitions.
Usage
Cmn(m, n)
Arguments
m
the
m
elements to combine among
n
n
the
n
elements from which to combine
m
elements with repetitions
encoding
UTF-8
Details
There are (n+m-1)!/(m!(n-1)!) ways to combine m elements among n with repetitions.
See Also
comb
for all possible combinations of m elements among n with repetitions
Examples
Run this code
Cmn(
2
,
3
)
comb(
2
,
3
)
Run the code above in your browser using
DataLab