/p>
</div>
<div class="section level2">
<h2 id="geom_mosaic-setting-the-aesthetics">geom_mosaic: setting the aesthetics<a class="anchor" aria-label="anchor" href="#geom_mosaic-setting-the-aesthetics"></a>
</h2>
<p>In <code><a href="reference/geom_mosaic.html">geom_mosaic()</a></code>, the following aesthetics can be specified:</p>
<ul>
<li><p><code>weight</code>: select a weighting variable</p></li>
<li>
<p><code>x</code>: select variables to add to formula</p>
<ul>
<li>declared as <code>x = product(var2, v