/code></pre></div>
<p>The function <code class="sourceCode r"><span class="fu">as.haven</span>()</code> coerces
the resulting object to the class <code class="sourceCode r"><span class="st">"haven_labelled_spss"</span></code>,
and the function <code class="sourceCode r"><span class="fu">as.declared</span>()</code>
reverses the process:</p>
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">xh</span> <span class="op">&lt;-</span> <span class=