ass="col-md-9 contents">
    <div class="page-header">
    <h1>Calculate IG for single feature</h1>
    <small class="dont-index">Source: <a href='https://github.com/michbur/biogram/blob/master/R/information_gain.R'><code>R/information_gain.R</code></a></small>
    <div class="hidden name"><code>calc_ig.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Computes information gain of single feature and target vector.</p>
    </div>

    <pre class="usage"><span class='fu'>calc_ig</span>(<spa