><a href="#cb7-1"></a><span class="fu">library</span>(stm)</span>
<span id="cb7-2"><a href="#cb7-2"></a>topic_model <span class="ot">&lt;-</span> <span class="fu">stm</span>(words_sparse, <span class="at">K =</span> <span class="dv">4</span>, </span>
<span id="cb7-3"><a href="#cb7-3"></a>                   <span class="at">verbose =</span> <span class="cn">FALSE</span>, </span>
<span id="cb7-4"><a href="#cb7-4"></a>                   <span class="at">init.type =</span> <span class="st">"Spectral"</span>)</s