Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于树状图对象,如何获取内部节点的子节点?理想情况下,我想提取带有标签的孩子。
谢谢你
该功能identify()允许您使用鼠标切割树并提取孩子。从 ?identify.hclust:
identify()
hca <- hclust(dist(USArrests)) plot(hca) (x <- identify(hca))
单击鼠标第二个按钮终止。