title: Error: object 'FUN' of mode 'function' was not found - even with changed variable name
body: <p>I got this code to work:</p>
  
  <pre><code>mean&lt;-aggregate(Listings.Recode$Price~Listings.Recode$Region, dataframe, mean)
  </code></pre>
  
  <p>However, I realized my variable name was the same as the "mean" function so I tried to re-name.  When I do so:</p>
  
  <pre><code>Listing.Mean&lt;-aggregate(Listings.Recode$Price~Listings.Recode$Region, dataframe, mean)
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code> Error in get(as.character(FUN), mode = "function", envir = envir) : 
  </code></pre>
  
  <p>object 'FUN' of mode 'function' was not found</p>
  
  <p>I'm not sure why this is happening, as literally all I'm doing is re-naming the variable.  Thanks.</p>