 takes a phi matrix (P(token|topic)) and a theta 
matrix (P(topic|document)) and returns the phi prime matrix (P(topic|token)). 
Phi prime can be used for classifying new documents and for alternative
topic labels.</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">CalcGamma</span><span class="op">(</span><span class="va">phi</span>, <span class="va">theta</span>, p_docs <span class="op">=</span> <span class="cn">NULL</span>, correct <