Convert a dataframe to an object of class “dist” without actually calculating distances in R

前端 未结 4 1492
醉酒成梦
醉酒成梦 2020-12-04 01:45

I have a dataframe with distances

df<-data.frame(site.x=c(\"A\",\"A\",\"A\",\"B\",\"B\",\"C\"),   
site.y=c(\"B\",\"C\",\"D\",\"C\",\"D\",\"D\"),Distanc         


        
4条回答
提交回复
热议问题