ch.combnVector | R Documentation |

This function creates a vector of all the combinations of itemList taken minNumPerSide at a time to maxNumPerSide at a time.

```
ch.combnVector(
numItems,
minNumPerSide = 1,
maxNumPerSide = 1,
addSelfMatch = TRUE
)
```

`numItems` |
the total number of items used for the combinations. |

`minNumPerSide` |
the minimum number of items in a combination. DEFAULT = 1. |

`maxNumPerSide` |
the maxmimun number of items in a combination. DEFAULT = 1. |

a vector of all the combinations (by item number)

```
ch.combnVector (5, 1,3)
```

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.