본문 바로가기

R관련

R euclidean distance(거리) 계산 빠르게 해주는 패키지

728x90
반응형
install.package('wordspace')

library(wordspace)

dist_mat=dist.matrix(matrix,method='euclidean')

 

728x90
반응형

'R관련' 카테고리의 다른 글

주식데이터 불러오기  (0) 2018.01.30
survival analysis, hazard ratio  (0) 2018.01.24
리눅스에서 R update하기 (fedora)  (0) 2017.12.29
biomaRt connection관련  (0) 2017.12.15
biomart  (0) 2017.12.01