title: N Choose K function in R not working--what am I missing?
body: <p>I was trying to acquaint myself with R's nChooseK function but I can't get it to work. I thought it was part of the standard setup (i.e. no additional package needed).</p>
  
  <p>Please help. Here is what I tried:</p>
  
  <pre><code>&gt; nChooseK(10,2) 
    Error: could not find function "nChooseK"
  &gt; n&lt;-4;k&lt;-2
  &gt; print(nChooseK(n,k)) 
   Error in print(nChooseK(n, k)) : could not find function "nChooseK"
  </code></pre>
  
  <p>the last one was an example I saw here: <a href="http://www.stat.ucl.ac.be/ISdidactique/Rhelp/library/R.basic/html/nChooseK.html" rel="noreferrer">R basic nChooseK</a></p>