ass="anchor" href="#examples"></a>Examples</h2>
    <pre class="examples"><div class='input'><span class='co'># DGP </span>
<span class='no'>x</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='powerset.html'>powerset</a></span>(<span class='fl'>5</span>)
<span class='no'>ans0</span> <span class='kw'>&lt;-</span> <span class='fu'>count_stats</span>(<span class='no'>x</span>[<span class='fl'>1</span>:<span class='fl'>20</span>], <span class='fu'><a href='https://www.rdocumentation.org/packages/ba