Description Usage Arguments Details Value References
This creates distance matrix from given data.
1 |
data |
The data frame to calculate the distance matrix from. |
Please note that the function doesn't scale the variables.
TODO: This breaks, if the data has only one column. Also, check if the sapply- way to check numerics and factors is correct, since if there's only one column, it returns logical vector for all cases, not for the column.
For further reading, see \insertCiteWilson:HEOM1997evoxploit.
Adapted from https://github.com/Tommytronic/Scatter-R/blob/master/R/heom.R.
A distance matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.