title: predicting exact probabilities in rpart decision tree model
body: <p>rather than 0 or 1 ,how to calculate exact probabilities like 96% or 43% in rpart decision tree model.
  I have tried 
  predict(model,data,type="prob")
  but it is predicting either 0 or 1</p>