The rpart and party packages, among others, calculate recursive partitioning trees for regression and classification. There are plot methods available for showing
various features as, well,  trees.

But trees can be displayed more compactly as treemaps, eg with the treemap packge,
giving a recursive partitioning of a unit rectangle.
I'm wondering if anyone has tried to map the output from rpart() or party::ctree() into
the form required as input for a treemap in R.

-Michael

--
Michael Friendly     Email: friendly AT yorku DOT ca
Professor, Psychology Dept. & Chair, Quantitative Methods
York University      Voice: 416 736-2100 x66249 Fax: 416 736-5814
4700 Keele Street    Web:   http://www.datavis.ca
Toronto, ONT  M3J 1P3 CANADA

______________________________________________
R-help@r-project.org 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.

Reply via email to