Description Usage Arguments Details Value Author(s) See Also

Lists a matrix of combinations of 1 to n variables in ascending order

1 | ```
combos(n)
``` |

`n` |
an integer: the number of variables |

Lists hierarchy of all possible combinations of n variables in ascending
order, starting with 1 variable, then all combinations of 2 variables,
and so on until the one combination with all n variables. This function
is used by `all.regs`

to structure the models required for
hierarchical partioning. This function requires the gtools package in
the gregmisc bundle.

a list containing

`ragged` |
a matrix with zeroes in empty elements and 1 in column 1, 2 in column 2 ... n in column n for full elements |

`binary` |
a matrix as for ragged, but with 1 in all full elements |

Chris Walsh [email protected]

hier.part documentation built on May 29, 2017, 7:12 p.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.