lass="cell" data-hash="03-topic-models_cache/revealjs/unnamed-chunk-7_255e259ff017cbe5495e670f52e06e11">
<div class="sourceCode cell-code" id="cb6" data-code-line-numbers="|2"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb6-1"><a href="#cb6-1"></a>words_sparse <span class="ot">&lt;-</span> word_counts <span class="sc">%&gt;%</span></span>
<span id="cb6-2"><a href="#cb6-2"></a>    <span class="fu">cast_sparse</span>(document, word, n)</span>
<span i