title: What is the type="prob" in the predict function?
body: <p><strong>Type parameter of the predict() function</strong></p>
  
  <p>What does the type="prob" argument in the predict function do?
  My is a sample of my code:</p>
  
  <pre><code>rf &lt;- randomForest( Creditability ~. , data=train)      
  rf2 &lt;- randomForest( Creditability ~. , data=train2)      
  
  
  prediction &lt;- predict(rf, test)
  prob_prediction &lt;- predict(rf,test,type="prob")
  
  prediction2 &lt;- predict(rf2, test2)
  </code></pre>