I\'ve been using the R treemap package and I have a treemap that\'s 2 levels deep. I want the second level labels to be printed but not the first.
Using the example in t
To remove the continent labels, you can post hoc edit the graph. The graph produces a grid object. The last two elements of this grid object seem to be the country labels. Hence you can remove them this way:
lapply(tail(grid.ls(print=FALSE)$name, 2), grid.remove)