�clustering” problem).</p></li>
</ol>
</div>
<div id="exercises" class="section level2">
<h2>Exercises</h2>
<p>Here are some things you might like to try:</p>
<ol style="list-style-type: decimal">
<li><p>Modify the <code>r_simplemix</code> code to allow the mixture proportions to be specified, rather than fixed at (0.5,0.5). You could do this by adding a parameter <code>w</code> to the function that specifies the proportions to use (<code>w</code> for “weights”).</p></li>
<li><p>Write a function, <cod