Description Usage Arguments Value Author(s) References Examples
Converts a distance matrix to a data.frame
.
1 | dist2df(inDist)
|
inDist |
The input distance object. |
A data.frame
.
Ananda Mahto
http://stackoverflow.com/q/23474729/1270695
1 2 | dd <- as.dist((1 - cor(USJudgeRatings)[1:5, 1:5])/2)
dist2df(dd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.