按hclust在R中对数据重新排序

按hclust在R中对数据重新排序,r,statistics,R,Statistics,我在这里看到了这些代码: hc1查看帮助文件以了解state.region- ?state.region 详细信息下的第一句是 R currently contains the following "state" data sets. Note that all data are arranged according to alphabetical order of the state names. 这意味着我们可以在美国数据集之间跳转,因为它们的顺序都是相同的,即USArrests的

我在这里看到了这些代码:


hc1查看帮助文件以了解
state.region
-

?state.region
详细信息下的第一句是

R currently contains the following "state" data sets.  
Note that all data are arranged according to alphabetical 
order of the state names.

这意味着我们可以在美国数据集之间跳转,因为它们的顺序都是相同的,即
USArrests
的第一个条目的状态与
状态中的状态相同。region

你能告诉我哪个包有这些数据吗?@Subs,它是
数据集
:和
州的一部分。地区
是“给出每个州所属地区(东北、南部、中北部、西部)的一个因素。”cf.你知道的。你为什么有疑问?根据描述,
usarests
包含了自1973年以来所有50个州的犯罪详情。因此,它使用来自
state.region
的信息来更容易分组。
R currently contains the following "state" data sets.  
Note that all data are arranged according to alphabetical 
order of the state names.