/strong> object. Here we just count the number of diamonds in each <code>cut</code> category.</li>
<li>Add a layer of text using the summarized counts. Note that the global <code>x</code> mapping, as well as the other mappings local to this text layer (<code>text</code> and <code>y</code>), reflect data values from step 3.</li>
</ol>
<div class="sourceCode" id="cb15"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb15-1"><a href="overview.html#cb15-1"></a><span class="kw">library</span>(dply