Hi Jon, Take a look at this graph
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=85 I think it is very close to what you need (source code provided at the site). -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn, MA 01801 Tel: 781-938-3830 www.nuverabio.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Zelner > Sent: Friday, February 02, 2007 5:07 PM > To: [email protected] > Subject: [R] Adding Histograms to Leaves of Rpart Tree or > other Dendrogram > > 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 > > ______________________________________________ > [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 > and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ [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 and provide commented, minimal, self-contained, reproducible code.
