0

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?

blahdiblah
  • 33,069
  • 21
  • 98
  • 152
cobie
  • 7,023
  • 11
  • 38
  • 60
  • 1
    Choosing a package is most likely one's choice and this post as such is in one of those "likely to solicit debates" category and is likely to get closed. Please frame your question with less ambiguity. What are you going to do? Have you checked the documentation of both these packages as to what they have to offer..? – Arun Apr 15 '13 at 16:19
  • I think this is actually a good question (although the wording could use a little work). It's very confusing that there are two packages that provide such similar functionality, but actually the rpart package seems to be more widely used and more extensive (but I've never been sure). I would also encourage researching the party package as well as an extension of rpart. – geneorama Apr 30 '13 at 20:28

1 Answers1

4

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

Simon Urbanek
  • 13,842
  • 45
  • 45