title: How to combine SmoothScatter with the Pairs function in R
body: <p>I have several predictors which I want to plot in a matrix by using <code>pairs()</code> in <code>R</code>.</p>
  
  <p>To improve visibility I want to use transparent dots. Optimal is the <code>SmoothScatter</code> function. I have tried settings in rgb alpha too, although <code>SmoothScatter</code> gives the best results (in a 1 on 1 correlation instead of a matrix).</p>
  
  <p>According to <a href="https://www.rdocumentation.org/packages/lumi/versions/2.24.0/topics/pairs-methods" rel="nofollow noreferrer">this link</a> <code>SmoothScatter</code> can be used in combination with <code>pairs()</code> too:</p>
  
  <p>Although when I use :</p>
  
  <pre><code>pairs(mydataset, smoothScatter=TRUE)
  </code></pre>
  
  <p>I receive this error:</p>
  
  <pre><code>In plot.window(...) : "smoothScatter" is not a graphical parameter
  </code></pre>
  
  <p>Is there a method to use <code>smoothScatter</code> in the <code>pairs()</code> function?</p>
  
  <p>Thanks! </p>