title: 'names' attribute must be the same length as the vector
body: <p>Stuck on an error in R. </p>
  
  <pre><code>    Error in names(x) &lt;- value : 
        'names' attribute must be the same length as the vector
  </code></pre>
  
  <p>What does this error mean?</p>