 together with <code>n</code> and <code>v</code>.</p></td>
    </tr>
    <tr>
      <th>k</th>
      <td><p>an integer, the number of items drawn, defaults to <code>n</code> if <code>freq</code> is <code>NULL</code> else <code><a href='https://rdrr.io/r/base/sum.html'>sum(freq)</a></code></p></td>
    </tr>
    <tr>
      <th>n</th>
      <td><p>an integer, the total number of items, its value may be implicitly deduced from <code><a href='https://rdrr.io/r/base/length.html'>length(v)</a></code> or <code><a 