n problem,
the resulting orthogonal variables have exactly the same
<code><a href="https://rdrr.io/r/stats/anova.html" class="external-link">anova()</a></code> summary (based on ‚ÄúType I‚Äù, sequential sums of
squares) as do original variables.</p>
<div class="section level2">
<h2 id="setup">Setup<a class="anchor" aria-label="anchor" href="#setup"></a>
</h2>
<p>We use the <code>class</code> data set, but convert the character
factor <code>sex</code> to a dummy (0/1) variable <code>male</code>.</p>
