Description Usage Arguments Details Value Author(s) See Also Examples

Generate all possible combinations of m elements among n with repetitions.

1 | ```
comb(m, n)
``` |

`m` |
the number of elements to combine |

`n` |
the number of elements from which to combine the |

There are (n+m-1)!/(m!(n-1)!) ways to combine m elements among n with repetitions, `combn`

generates
all these possible combinations.

A matrix of (n+m-1)!/(m!(n-1)!) rows, and n columns, each row is a possible combination of m elements among n .

Hinda Haned [email protected]

`Cmn`

for the calculation of the number of all possible combinations of m elements among n with repetitions

1 2 3 |

forensim documentation built on May 31, 2017, 4:32 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.