</div>

    
    
<div id="introduction" class="section level2">
<h2 class="hasAnchor">
<a href="#introduction" class="anchor"></a>Introduction</h2>
<p>There are two ways to use the topic model diagnostics included <code>topicdoc</code>. You can calculate all the topic diagnostics at once using <code>topic_diagnostics</code> or use the other functions to calculate the diagnostics individually.</p>
<p>The only prerequisite for using <code>topicdoc</code> is that your topic model is fit using the <code>topicm