powered by
Convert pairwise list to distance matrix
list2dist(dat)
distance matrix
dataframe with three columns
Jinlong Zhang jinlongzhang01@gmail.com
Dataframe with first column as the column names in the distance matrix, second column as the rownames in the distance matrix, third column the values.
Tuomisto, H. (2003). "Dispersal, Environment, and Floristic Variation of Western Amazonian Forests." Science 299(5604): 241-244.
dist2list
##list2dist() example x <- matrix(rnorm(100), nrow=5) sampledata <- dist(x) ddd <- dist2list(sampledata) list2dist(ddd)
Run the code above in your browser using DataLab