title: R Error: "Error: Can't combine `..1` <character> and `..2` <double>."
body: <p>I am working on a research project and trying to visualize an OLS model. Here is my code:</p>
  <pre><code>#install.packages(&quot;dplyr&quot;)
  library(foreign)
  #install.packages(&quot;tidyverse&quot;, dependencies = TRUE)
  library(tidyverse)
  library(haven)
  library(stargazer)
  library(ggeffects)
  library(gridExtra)
  
  anes_timeseries_cdf &lt;- read_dta(&quot;anes_timeseries_cdf.dta&quot;)
  head(anes_timeseries_cdf)
  
  dataset &lt;- anes_timeseries_cdf %&gt;% 
    filter(!is.na(VCF0114), !is.na(VCF0118), !is.na(VCF0140a), !is.na(VCF0146), !is.na(VCF0148), !is.na(VCF0301), !is.na(VCF0302), !is.na(VCF0310), VCF0310!=9, !is.na(VCF0703), !is.na(VCF0742), !is.na(VCF0803), !is.na(VCF0624)) %&gt;%
    select(VCF0004, VCF0114, VCF0118, VCF0140a, VCF0146, VCF0148, VCF0301, VCF0302, VCF0310, VCF0703, VCF0742, VCF0803, VCF0624)
  view(dataset)
  
  test &lt;- lm(VCF0114 ~ VCF0703 + VCF0803, data = dataset)
  
  Registered &lt;- ggpredict(test, terms = c(&quot;VCF0703&quot;))
  plot(Registered)
  
  </code></pre>
  <p>When I try to run 'plot(Registered)', I get the error</p>
  <pre><code>Error: Can't combine `..1` &lt;character&gt; and `..2` &lt;double&gt;.
  Run `rlang::last_error()` to see where the error occurred.
  </code></pre>
  <p>And when I run rlang::last_error(), it says the problem is</p>
  <pre><code>&lt;error/vctrs_error_incompatible_type&gt;
  </code></pre>
  <p>Here is the link to my data so y'all can try reproducing it:</p>
  <p><a href="https://drive.google.com/file/d/1yKYtD6heBfZcL87YNJtzRcAF9eF4PiFd/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1yKYtD6heBfZcL87YNJtzRcAF9eF4PiFd/view?usp=sharing</a></p>