 by setting <code>method =  "broad"</code> or to compress all responses down to male/female/‘sex and gender diverse’ using <code>method =  "narrow"</code>.</p>
<div id="example-using-narrow-coding" class="section level5">
<h5 class="hasAnchor">
<a href="#example-using-narrow-coding" class="anchor"></a>Example using narrow coding</h5>
<div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb4-1" data-line-number="1">genderRecoded &lt;-<span class="