Creates a matrix with all combinations of 1 to all elements of the
vector provided. Elements to occur in all combinations can be specified.
This is internally called by `brute.search`

.

1 |

`x` |
A vector of elements of which combinations are to be formed. |

`force` |
A vector of elements that are supposed to occur in each combination. |

`trace` |
A boolean indicating if some output should be printed (TRUE) or not (FALSE=default). |

A matrix with one combination per row. For the shorter combinations, the columns to the right are filled up with NA.

Lutz P Breitling <lutz.breitling@gmail.com>

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.