-9 contents">
    <div class="page-header">
    <h1>Expand a data.table to use all combinations of values</h1>
    <small class="dont-index">Source: <a href="https://github.com/markfairbanks/tidytable/blob/HEAD/R/expand.R" class="external-link"><code>R/expand.R</code></a></small>
    <div class="hidden name"><code>expand.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Generates all combinations of variables found in a dataset.</p>
<p><code>expand()</code> is useful in conjunction with j