R 연동하기 Rserve Package 설치 준비 (이미 하신분은 생략 가능) xcode command line tools 설치 ($ xcode-select –install) clang, gfortran 설치 (https://cran.r-project.org/bin/..
getTable <- function(url=url){ tem <- read_html(url,encoding = "UTF-8") dat <- tem %>% html_nodes(".bus_board_txt1") %>% html_text tit <- tem %>% html_nodes('.bus_board_tit1..
오늘은 군집화(clustering) 방법에 대해서 실습해 보겠습니다. partitioning 방법으로 k-means와 k-medoid를 이용하여 iris 데이터를 이용하여 종을 군집화 하는 방법을 알아보겠습니다. k-means는 패키지 설치 없이 사용할 수 있습니다. 그리고 k-medoid는 fpc ..