How to interpret some syntax (n.adapt, update..) in jags?
<p>I feel very confused with the following syntax in jags, for example, </p>

<pre><code>n.iter=100,000
thin=100
n.adapt=100
update(model,1000,progress.bar = "none")
</code></pre>

<p>Currently I think</p>

<p><code>n.adapt=100</code> means you set the first 100 draws as burn-in, </p>

<p><code>n.iter=100,000</code> means the MCMC chain has 100,000 iterations including the burn-in,</p>

<p>I have checked the explanation for this question a lot of time but still not sure whether my interpretation about <code>n.iter</code> and <code>n.adapt</code> is correct and how to understand <code>update()</code> and <code>thinning</code>.</p>

<p>Could anyone explain to me?</p>