Have you had a look at the rpart package? If you haven't installed it it may be 
worth doing so. Then you can type

require(rpart)
?rpart.object

Tom

> -----Original Message-----
> From: DFARRAR [mailto:[EMAIL PROTECTED]
> Sent: Monday, 6 December 2004 11:09 AM
> To: [EMAIL PROTECTED]
> Subject: [R] tree class in R?
> 
> 
> I am trying to store a couple numbers for each partition, in 
> a subset of the 
> partitions 
> of my data set.  Of course, one can accomplish this using a 
> binary tree.  (The 
> first split is on 
> inclusion/exclusion of the first object, and so on.)  I can 
> probably simulate 
> a tree using 
> vectors.  (One vector gives the index of left child node, 
> another the index of 
> the right child node.)
> However, it seems like there must be a useful class 
> associated with the 
> clustering 
> or recursive partitioning procedures, perhaps not out there 
> for everyone to 
> see.  I poked around
> on the R page and didn't see anything that clearly met my 
> needs very directly.
>  I hope I would not 
> have to learn recursive partitioning in R to find what I need.
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to