[R] Adding Histograms to Leaves of Rpart Tree or other Dendrogram

Jonathan Zelner jzelner at umich.edu
Fri Feb 2 23:06:44 CET 2007


Hi - I'm trying to append simple density histograms of a continuous 
variable to the leaves of an rpart tree.

The splits in the tree are all levels of a factor and I'm hoping to make 
the histograms out of the subsets of the dataframe corresponding to the 
splits and for them to be attached to the appropriate leaf of the final 
tree.

Any help would be much appreciated,
thanks,
Jon Zelner

University of Michigan
Gerald R. Ford School of Public Policy



More information about the R-help mailing list