r on split chains (at 
## convergence, Rhat=1).</code></pre>
<p>The probability of response in each subgroup is calculated under <code>prob_response</code>. We can use the generic summary function from rstan to get a nice summary:</p>
<div class="sourceCode" id="cb5"><html><body><pre class="r"><span class="kw pkg">knitr</span><span class="kw ns">::</span><span class="fu"><a href="https://rdrr.io/pkg/knitr/man/kable.html">kable</a></span>(<span class="kw pkg">rstan</span><span class="kw ns">::</span><span cl