Search code examples
rtreeclassificationrpartcart-analysis

Classification Tree in R


Am totally new to R and I am trying to make use of classification trees for classifying some data. What has me confused is what library to make use of. Should I make use of rpart or tree?


Solution

  • Use the rpart package. The tree package is included mainly for compatibility with older scripts.