title: Error in UseMethod("rescale") : no applicable method for 'rescale' applied to an object of class "c('haven_labelled', 'vctrs_vctr', 'double')"
body: <p>I am getting the following error:</p>
  <blockquote>
  <p>Error in UseMethod(&quot;rescale&quot;) : no applicable method for 'rescale'
  applied to an object of class &quot;c('haven_labelled', 'vctrs_vctr',
  'double')&quot;</p>
  </blockquote>
  <p>Here is my code for the plot:</p>
  <blockquote>
  <p><code>ggplot(data_q_agg3, aes(x = 'qmrcms', y = 'count', fill = 'qbncap')) + geom_col(position = &quot;dodge&quot;)</code></p>
  </blockquote>
  <p><code>data_q_agg3</code> was created by doing this (see picture):</p>
  <pre><code>data_q_agg3 &lt;- group_by(na.omit(data_jointest), qbncap, qmrcms) %&gt;%
    summarise(count=n())
  </code></pre>
  <p><img src="https://i.stack.imgur.com/5LlgA.png" alt="picture of data_q_agg3" /></p>
  <p>and <code>data_jointest</code> was created by doing this (just adding two data frames together):</p>
  <pre><code>data_jointest &lt;- rbind(data_q_clean2, data_q_clean4, deparse.level = 0)
  </code></pre>
  <p>Finally, when trying to produce the plot, I get the following message/error:</p>
  <pre><code>Don't know how to automatically pick scale for object of type haven_labelled/vctrs_vctr/double. Defaulting to continuous.
  
  Don't know how to automatically pick scale for object of type haven_labelled/vctrs_vctr/double. Defaulting to continuous.
  
  Error in UseMethod(&quot;rescale&quot;) : 
    no applicable method for 'rescale' applied to an object of class &quot;c('haven_labelled', 'vctrs_vctr', 'double')&quot;`
  </code></pre>
  <p>Some help to fix this error would be really appreciated!!!</p>