Michael Friendly
2013-Sep-24 17:53 UTC
[R] display recursive partitioning tree as a treemap?
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