baihongyu.com
博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
R语言学习之聚类
阅读量:
7083 次
发布时间:
2019-06-28
本文共 334 字,大约阅读时间需要 1 分钟。
n<-seq(1,50,by=4)
2(x<-¡USArrests[n,])#print()
hc1<-hclust(dist(x),method="complete")
4hc2<-hclust(dist(scale(x)),method="complete")
hc3<-hclust(dist(x),method="ave")
layout(matrix(c(1,1,2,3),nrow=2,byrow=T))
plot(hc1);plot(hc2);plot(hc3)
library(cluster)
clusplot(x,pam(x,2)$clustering)
转载于:https://my.oschina.net/u/236959/blog/90519
你可能感兴趣的文章
apache中 MaxClients 与MaxRequestsPerChild 并发数
查看>>
mfs+drbd+corosync+pacemaker+pcs+crmsh高可用分布式集群搭建
查看>>
linux-/etc/inittab,rc.sysinit,rc服务类脚本,chkconfig
查看>>
linux运维实战练习案例-2015年12月20日-12月31日(第一次)
查看>>
shell中字符串的截取方法、cut基本用法
查看>>
Install and Configure OpenStack Telemetry Metering Service (Ceilometer) for Ubuntu 14.04
查看>>
Linux 技巧:让进程在后台可靠运行的几种方法
查看>>
RowHandler的使用
查看>>
我的友情链接
查看>>
程序员辞职卖卷饼,4天挣了1个月工资……所以我应该改行卖卷饼吗?
查看>>
作业:Rsync+shell脚本完成自动化备份
查看>>
DKH企业级大数据解决方案的优势介绍
查看>>
arm嵌入式培训学校浅聊单片机、ARM、FPGA 、嵌入式开发的特点
查看>>
lvs+keepalived原理
查看>>
windows安装
查看>>
C实现2台主机间的passwordLess,基于配置文件批量建立主机之间的passwordless
查看>>
私有云桌面和公有云桌面的区别是什么
查看>>
ipmotool
查看>>
国家级期刊投稿要求
查看>>
mpls的基础原理
查看>>