title: Tilde Dot in R (~.)
body: <p>Can anyone explain the tilde dot (~.) in R? I have seen some posts about it already. I know the tilde is used for formulas, specifying the independent and dependent variables. And, I know that the dot is used to indicate all other variables. More specifically, can someone explain the tilde dot in this example?</p>
  
  <pre><code>x &lt;- sample(10)
  x %&gt;%
    detect(~. &gt; 5)
  </code></pre>
  
  <p>Thanks</p>