title: using dplyr's recode to recode only some numeric values in a column
body: <p>it's important to me to recode using pipes, so, please don't offer base R solutions, please.</p>
  
  <p>Also important: I have both libraries activated: car and tidyverse.</p>
  
  <p>So, I have a data frame x. I want to produce a new column c and then recode ONLY the value of 3 in it as 300. The following is working when I want to replace with an integer, but what if I need to recode into a float?</p>
  
  <p>Thank you!</p>
  
  <pre><code>library(car)
  library(tidyverse)
  x &lt;- data.frame(a = 1:3, b = 3:1)
  x %&gt;% mutate(c = a*b) %&gt;% mutate(c = dplyr::recode(c, `3` = 300L)) # Works
  x %&gt;% mutate(c = a*b) %&gt;% mutate(c = dplyr::recode(c, `3` = 0.333)) # Doesn't work
  </code></pre>