"external-link">tidy</a>.</p>
<p>The remainder of this vignette demonstrates an analysis conducted
using the <code>UKEnergy2000</code> data frame as a basis. It:</p>
<ul>
<li>shows how to <em>collapse</em> and spread the data into appropriate
matrices stored in columns of a data frame,</li>
<li>demonstrates analyzing the matrices with <code>matsbyname</code>
functions,</li>
<li>illustrates <em>expand</em>ing the matrices back into a tidy data
frame, and</li>
<li>uses <a href="https://ggplot2.tidyverse.org" 