"R hclust()"의 두 판 사이의 차이

3번째 줄: 3번째 줄:
* "Hierarchical Clustering"
* "Hierarchical Clustering"


<source lang='r'>
<source lang='r' notebook>
hc <- hclust(dist(USArrests), "ave")
hc <- hclust(dist(USArrests), "ave")
hc
hc
##
</source>
## Call:
<source lang='r' notebook>
## hclust(d = dist(USArrests), method = "ave")
##
## Cluster method  : average
## Distance        : euclidean
## Number of objects: 50
plot(hc)
plot(hc)
</source>
<source lang='r' notebook>
plot(hc, hang = -1)
plot(hc, hang = -1)
</source>
</source>
[[File:Rplot06.png|600px]]
[[File:Rplot06.png|600px]]



2021년 4월 28일 (수) 22:17 판

1 개요

R hclust()
  • "Hierarchical Clustering"
hc <- hclust(dist(USArrests), "ave")
hc
plot(hc)
plot(hc, hang = -1)

Rplot06.png

Rplot07.png

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}